Declarations and Access Control Logic
© examsiri.com
Question : 10 of 29
Marks:
+1,
-0
Given:
What is the output?
1. public class TestString1 {
2.   public static void main(String[] args) {
3.    String str = "420";
4.    str += 42;
5.    System.out.print(str);
6.   }
7. }What is the output?
Go to Question: