concatenation doesn't really apply to primitives... It means "adding to the end of".
So:
"Hello" + " world"
is the same as
Type: Posts; User: helloworld922
concatenation doesn't really apply to primitives... It means "adding to the end of".
So:
"Hello" + " world"
is the same as
No, that's an implicit conversion (technically, it's not a cast at all in this case, see the reason below). An explicit conversion is one you specifically tell Java to do:
int a = 5;
String b =...