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

Author Question: Assume that the ASCII code for character c is 99 and for a is 97. What is the printout of the ... (Read 94 times)

tiffannnnyyyyyy

  • Hero Member
  • *****
  • Posts: 512

Question 1

Assume that the ASCII code for character c is 99. What is the printout of the following code?

System.out.println("a" + 'c');

◦ 196
◦ ac
◦ a99
◦ 9799

Question 2

Assume that the ASCII code for character c is 99 and for a is 97. What is the printout of the following code?

System.out.println('a' + 'c');

◦ ac
◦ 9799
◦ 196
◦ a99


Related Topics

Need homework help now?

Ask unlimited questions for free

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

efwsefaw

  • Sr. Member
  • ****
  • Posts: 351
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 25% of students answer this correctly




tiffannnnyyyyyy

  • Member
  • Posts: 512
Reply 2 on: May 6, 2020
Excellent


jordangronback

  • Member
  • Posts: 339
Reply 3 on: Yesterday
Thanks for the timely response, appreciate it

 

Did you know?

By definition, when a medication is administered intravenously, its bioavailability is 100%.

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?

Warfarin was developed as a consequence of the study of a strange bleeding disorder that suddenly occurred in cattle on the northern prairies of the United States in the early 1900s.

Did you know?

Cyanide works by making the human body unable to use oxygen.

Did you know?

All adults should have their cholesterol levels checked once every 5 years. During 2009–2010, 69.4% of Americans age 20 and older reported having their cholesterol checked within the last five years.

For a complete list of videos, visit our video library