Question: What method call would we use to determine if a char ch is a capital letter? Which of the following are valid method calls? Select

What method call would we use to determine if a char ch is a capital letter?

Which of the following are valid method calls? Select all valid method calls given:

 char c = 'c'; String s = "s"; 

Select one or more:

a.

Character.isDigit(c);

b.

c.toLowerCase();

c.

"s".length();

d.

c.length();

e.

Character.toUpperCase(c);

f.

'c'.length();

g.

s.isDigit();

h.

s.toUpperCase();

i.

c.isDigit();

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The question consists of two parts identifying a method to check if a character is a capital letter ... View full answer

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!