Java MCQ - English
Which of the following are legal lines of Java code?
1 and 2
2 and 3
3 and 4
All statements are correct.
Answer : D
View More Related Question
1) Which of the following automatic type conversion will be possible?
2) Which of the following are legal lines of Java code?
3) What is the prototype of the default constructor of this class? public class prototype { }
4) An expression involving byte, int, and literal numbers is promoted to which of these?
5) If an expression contains double, int, float, long, then whole expression will promoted into which of these data types?