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 71 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
:D TYSM


cpetit11

  • Member
  • Posts: 321
Reply 3 on: Yesterday
Great answer, keep it coming :)

 

Did you know?

Chronic necrotizing aspergillosis has a slowly progressive process that, unlike invasive aspergillosis, does not spread to other organ systems or the blood vessels. It most often affects middle-aged and elderly individuals, spreading to surrounding tissue in the lungs. The disease often does not respond to conventionally successful treatments, and requires individualized therapies in order to keep it from becoming life-threatening.

Did you know?

As of mid-2016, 18.2 million people were receiving advanced retroviral therapy (ART) worldwide. This represents between 43–50% of the 34–39.8 million people living with HIV.

Did you know?

Certain rare plants containing cyanide include apricot pits and a type of potato called cassava. Fortunately, only chronic or massive ingestion of any of these plants can lead to serious poisoning.

Did you know?

There can actually be a 25-hour time difference between certain locations in the world. The International Date Line passes between the islands of Samoa and American Samoa. It is not a straight line, but "zig-zags" around various island chains. Therefore, Samoa and nearby islands have one date, while American Samoa and nearby islands are one day behind. Daylight saving time is used in some islands, but not in others—further shifting the hours out of sync with natural time.

Did you know?

Nearly all drugs pass into human breast milk. How often a drug is taken influences the amount of drug that will pass into the milk. Medications taken 30 to 60 minutes before breastfeeding are likely to be at peak blood levels when the baby is nursing.

For a complete list of videos, visit our video library