You are not logged in.
Pages:: 1
#1 2015-06-15 05:57:07
Compilation Error:
Java Quizzes Java Language Flow Control
Directions:
public class Test{
public static void main(String[] args){
int x=10, y=0;
if(x && y){
System.out.print("TRUE");
}
else{
System.out.print("FALSE");
}
}
Question:
What will be the output?
Option A):
FALSE
Option B):
Runtime Error
Option C):
TRUE
Option D):
Compilation Error
Correct Answer is Option D):
Compilation Error
You cannot discover the new oceans unless you have the courage to lose the sight of the shore.
Offline
2015-06-15 05:57:07
- Advertisement
- Ads By Google
Re: Compilation Error:
\n
Pages:: 1