Want this question answered?
Be notified when an answer is posted
Chat with our AI personalities
program to extract a given word from a file
write the javascript code to display the reverse no. of given no. (e.g. 247 reverse of 742)
To write a C++ program to display the student details using class and array of object.
.... String line = "This is example program with spaces"; String[] tokens = line.split(" "); System.out.println(tokens.length-1); .......
This functionality is already in Java. String.toLowerCase() and String.toUpperCase() will take care of it for you.