Enter the value of the variable n after executing the following code.
String str = " Inside Main";
String subs = str.substring(0, 6);
long n = subs.trim().length();Enter the value of the variable n after executing the following code.
String str = " Inside Main";
String subs = str.substring(0, 6);
long n = subs.trim().length();Create a free account to access the full topic