what will be the output of the following {system.out.print(welcome to the lab)
Answers
Answered by
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
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
Chemistry,
3 months ago
Physics,
3 months ago
Social Sciences,
3 months ago
Hindi,
9 months ago
English,
9 months ago