0
what is the type of this statement??? String a=new String("1"); if it is wrong statement.plz be kind to correct it.im a beginner
4 Réponses
+ 3
It's a declaration of a String variable named a, and assignment of the string "1" (created dynamically) to it.
+ 1
@praveen as far it contains double quotes the system sees it as a string
0
got it....jerry
0
thank you