Problem

Using Java's Built-in Methods In this exercise, you use the online documentation s...

Using Java's Built-in Methods

In this exercise, you use the online documentation supplied by Oracle to answer Questions 1-8. Go to http://downloacd.oracle.com/javase/6/docs/api/ to access Java's online documentation. Scroll down until you see the word String in the left pane, under All Classes. Click String to access the documentation regarding Java's String class. Read the information about the built-in methods that belong to the String class, and then answer the following questions:

1. What does the concatO method do?

____________________________________________________________________________

2. What data type does the concatO method return?

____________________________________________________________________________

3. What does the isEmpty0 method do?

____________________________________________________________________________

4. What data type does the i sEmpty() method return?

____________________________________________________________________________

5. How many arguments does the charAtO method require?

____________________________________________________________________________

6. What is the data type of the argument(s)?

____________________________________________________________________________

7. Is the startsWith() method overloaded?

____________________________________________________________________________

8. How many versions of the startsWith() method are listed?

____________________________________________________________________________

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 9
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT