Menu
Question Index
...

Which of the following initialization is incorrect?


String str = "Java "
+ "Learning "
+ "School";
String str = "Java
Learning
School";
String result = "0.01";
String result = "0.01" + "Hai";

Doubts

Problems

Topic: String Literal In Java

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App