Public Sub PrintThings() Console.WriteLine("3" + "6") Console.WriteLine(3 & 6)End Subpublic void printThings() { System.out.println("3" + "6"); System.out.println(3 & 6);}
VB: 36, 36Java: 36, 2Okay, what was the trick?
VB: 9, 36Java: 36, 2
ahh, you got me. I never used + for concatenation in VB, 'cause I was a good citizen.
Post a Comment
3 comments:
VB: 36, 36
Java: 36, 2
Okay, what was the trick?
VB: 9, 36
Java: 36, 2
ahh, you got me. I never used + for concatenation in VB, 'cause I was a good citizen.
Post a Comment