TOPUPchat logo...
Forgot password?

Select : C language | Java

Q.9] calling system.out.print insode of system.out.print

public class NestedPrints {
    public static void main(String[] args) {
        
        System.out.println(System.out.println("nested prints"));
    }
}
    

Options]

A)nested prints
B)nested prints
   13
C)13
   nested prints
D) compile time error        

Click to See Answer
D) compile time error    

Next | precidence in calling overloaded methods in java

Previous | bit wise operator

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