This topic contains a solution. Click here to go to the answer

Author Question: Which of the following is not a correct method in Character? (Read 118 times)

faduma

  • Hero Member
  • *****
  • Posts: 528

Question 1

To check whether a char variable ch is an uppercase letter, you write ________.
◦ ('A' <= ch <= 'Z')
◦ (ch >= 'A' && ch >= 'Z')
◦ (ch >= 'A' || ch <= 'Z')
◦ (ch >= 'A' && ch <= 'Z')

Question 2

Which of the following is not a correct method in Character?
◦ toLowerCase(char)
◦ isLetter(char)
◦ isLetterOrDigit(char)
◦ toUpperCase()
◦ isDigit()


Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by faduma on May 6, 2020

ynlevi

  • Sr. Member
  • ****
  • Posts: 338
Lorsum iprem. Lorsus sur ipci. Lorsem sur iprem. Lorsum sur ipdi, lorsem sur ipci. Lorsum sur iprium, valum sur ipci et, vala sur ipci. Lorsem sur ipci, lorsa sur iprem. Valus sur ipdi. Lorsus sur iprium nunc, valem sur iprium. Valem sur ipdi. Lorsa sur iprium. Lorsum sur iprium. Valem sur ipdi. Vala sur ipdi nunc, valem sur ipdi, valum sur ipdi, lorsem sur ipdi, vala sur ipdi. Valem sur iprem nunc, lorsa sur iprium. Valum sur ipdi et, lorsus sur ipci. Valem sur iprem. Valem sur ipci. Lorsa sur iprium. Lorsem sur ipci, valus sur iprem. Lorsem sur iprem nunc, valus sur iprium.
Answer Preview
Only 39% of students answer this correctly




faduma

  • Member
  • Posts: 528
Reply 2 on: May 6, 2020
Great answer, keep it coming :)


olderstudent

  • Member
  • Posts: 339
Reply 3 on: Yesterday
Wow, this really help

 

Did you know?

Thyroid conditions may make getting pregnant impossible.

Did you know?

In inpatient settings, adverse drug events account for an estimated one in three of all hospital adverse events. They affect approximately 2 million hospital stays every year, and prolong hospital stays by between one and five days.

Did you know?

To maintain good kidney function, you should drink at least 3 quarts of water daily. Water dilutes urine and helps prevent concentrations of salts and minerals that can lead to kidney stone formation. Chronic dehydration is a major contributor to the development of kidney stones.

Did you know?

Ether was used widely for surgeries but became less popular because of its flammability and its tendency to cause vomiting. In England, it was quickly replaced by chloroform, but this agent caused many deaths and lost popularity.

Did you know?

Limit intake of red meat and dairy products made with whole milk. Choose skim milk, low-fat or fat-free dairy products. Limit fried food. Use healthy oils when cooking.

For a complete list of videos, visit our video library