TOPUPchat logo...
Forgot password?

Select : C language | Java

Q.1] false as condition in for loop

public class Loop {
    public static void main(String[] args){
      
    for(int i=0;false || true && false;i++){
          System.out.println("java");
    }}}
    

Options]

A) java
    java
    java
      -
      -

B) 
C) compile time error
D)conditional error        

Click to See Answer
C) compile time error    

Next | IDE shows error on line no. 4 select replacement for it from options



Hemen Ashodia [paper setter]
Register & recharge
Male Female
I agree Terms and Conditions