class Main{
public static void main(String args[]){
String ss = "I Love JAVA";
System.out.println(ss);
System.out.println("Length of the String: " + ss.length());
}
}
The Output is Given Below:
I Love JAVA
Length of the String: 11
0 comments:
Post a Comment