How To Use String Variable in Java Programming Language
The Following script is the simplest way to declaring and using String variable in Java:
class UseString{
public static void main(String args[]){
String x;
x= "Hello World";
System.out.println("your String variable containt : "+ x);
}
}
you can see the output here:
you can see the output here:
ShadowOfBdg© - All rights reserved.
No comments:
Post a Comment