Computer Science, asked by adithirao453, 6 months ago

what will be the output of the following {system.out.print(welcome to the lab)​

Answers

Answered by kirmithakimi
0

Answer:welcome to the lab

Explanation:

The answer will be the same but in the end after execution the cursor will remain there so any statements to print after this will be print after it .

Answered by parampremdhawa
1

Answer:

It is a syntax error

Explanation:

The correct syntax is

{

System.out.print("welcome to the lab");

}

}

The output will be

welcome to the lab

Similar questions