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 80 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
Great answer, keep it coming :)


daiying98

  • Member
  • Posts: 354
Reply 3 on: Yesterday
YES! Correct, THANKS for helping me on my review

 

Did you know?

The horizontal fraction bar was introduced by the Arabs.

Did you know?

The first-known contraceptive was crocodile dung, used in Egypt in 2000 BC. Condoms were also reportedly used, made of animal bladders or intestines.

Did you know?

The U.S. Preventive Services Task Force recommends that all women age 65 years of age or older should be screened with bone densitometry.

Did you know?

It is believed that humans initially contracted crabs from gorillas about 3 million years ago from either sleeping in gorilla nests or eating the apes.

Did you know?

Excessive alcohol use costs the country approximately $235 billion every year.

For a complete list of videos, visit our video library