Suppose a String name is given in a format where the firstname and lastname areseparated by a semicolon like ‘Ziaul;Hossain’ ; the general format would be‘firstname;lastname’ (firstname and lastname can be any String). Write a program whichwill separate the lastname into a different string. (Hint: use a function from String classto find the position of semicolon and then take substring from that position).
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here