Suppose a String name is given in a format where the firstname and lastname are separated by a semicolon like ‘Ziaul;Hossain’ ; the general format would be ‘firstname;lastname’ (firstname and lastname...


Suppose a String name is given in a format where the firstname and lastname are

separated by a semicolon like ‘Ziaul;Hossain’ ; the general format would be

‘firstname;lastname’ (firstname and lastname can be any String). Write a program which

will separate the lastname into a different string. (Hint: use a function from String class

to find the position of semicolon and then take substring from that position).



Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here