Search:

Type: Posts; User: helloworld922

Search: Search took 0.09 seconds.

  1. Replies
    3
    Views
    5,398

    Re: Explicit Conversion?

    concatenation doesn't really apply to primitives... It means "adding to the end of".

    So:


    "Hello" + " world"

    is the same as
  2. Replies
    3
    Views
    5,398

    Re: Explicit Conversion?

    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 =...
Results 1 to 2 of 2