Question: Answer Following Questions: 1. Which method in which class can be used to check if a character is upper case letter or not? 2. Give

 Answer Following Questions: 1. Which method in which class can be

Answer Following Questions: 1. Which method in which class can be used to check if a character is upper case letter or not? 2. Give a string str=a string at following location, what will be the return from following method calls? a. str.indexOf(ing); b. str.lastIndexOf(ing); C. str.substring(3,7); 3. What is the difference between the replace method in String class and StringBuilder class? 4. In split method's argument, when do you use []? 5. What is wrong with the following code and how can we fix it? ArrayList score = new ArrayList()

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!