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


bbburns21

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

 

Did you know?

Over time, chronic hepatitis B virus and hepatitis C virus infections can progress to advanced liver disease, liver failure, and hepatocellular carcinoma. Unlike other forms, more than 80% of hepatitis C infections become chronic and lead to liver disease. When combined with hepatitis B, hepatitis C now accounts for 75% percent of all cases of liver disease around the world. Liver failure caused by hepatitis C is now leading cause of liver transplants in the United States.

Did you know?

Urine turns bright yellow if larger than normal amounts of certain substances are consumed; one of these substances is asparagus.

Did you know?

Barbituric acid, the base material of barbiturates, was first synthesized in 1863 by Adolph von Bayer. His company later went on to synthesize aspirin for the first time, and Bayer aspirin is still a popular brand today.

Did you know?

Alcohol acts as a diuretic. Eight ounces of water is needed to metabolize just 1 ounce of alcohol.

Did you know?

When Gabriel Fahrenheit invented the first mercury thermometer, he called "zero degrees" the lowest temperature he was able to attain with a mixture of ice and salt. For the upper point of his scale, he used 96°, which he measured as normal human body temperature (we know it to be 98.6° today because of more accurate thermometers).

For a complete list of videos, visit our video library