Predict the output for the above code???....public class monkey{ public static void main(String[] args) { String str="akash"; System.out.print(str.indexOf('k')); System.out.print(str.indexOf ('g')); }}
Not registered? Create an account
Forgot Password?
Already a registered user? Login