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

Author Question: What is the output of the following code?for ( ; ; ) System.out.println("Welcome to Java"); (Read 73 times)

jake

  • Hero Member
  • *****
  • Posts: 538

Question 1

In a for statement, if the continuation condition is blank, the condition is assumed to be ________.
◦ true
◦ false

Question 2

What is the output of the following code?

for ( ; ; )
System.out.println("Welcome to Java");

◦ prints out Welcome to Java two times
◦ prints out Welcome to Java forever
◦ prints out Welcome to Java one time
◦ does not print anything


Related Topics

Need homework help now?

Ask unlimited questions for free

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

peter

  • Sr. Member
  • ****
  • Posts: 330
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




jake

  • Member
  • Posts: 538
Reply 2 on: May 6, 2020
Thanks for the timely response, appreciate it


LVPMS

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

 

Did you know?

Stroke kills people from all ethnic backgrounds, but the people at highest risk for fatal strokes are: black men, black women, Asian men, white men, and white women.

Did you know?

The strongest synthetic topical retinoid drug available, tazarotene, is used to treat sun-damaged skin, acne, and psoriasis.

Did you know?

To prove that stomach ulcers were caused by bacteria and not by stress, a researcher consumed an entire laboratory beaker full of bacterial culture. After this, he did indeed develop stomach ulcers, and won the Nobel Prize for his discovery.

Did you know?

Asthma occurs in one in 11 children and in one in 12 adults. African Americans and Latinos have a higher risk for developing asthma than other groups.

Did you know?

Critical care patients are twice as likely to receive the wrong medication. Of these errors, 20% are life-threatening, and 42% require additional life-sustaining treatments.

For a complete list of videos, visit our video library