Programming - First Step towards Java Programming

You Are Here :: Home > JAVA > First Step towards Java Programming - General Questions

 
19.

what happens if string args[ ] is not written in main()?                        


A. only code will compile B. JVM cannot run the code
C. code will compile but JVM cannot tun the code D. JVM run the code




20.

______________ method belongs to Print Stream Class.                        


A. final B. static
C. nonstatic D. print()




21.

__________________ gives the print Stream Class Object.                        


A. co.in B. system.in
C. system.out D. out.println




22.

Is println() and print() methods both are same or not>                        


A. Yes B. No
C. Cant say D. none




23.

\n refers ________________________________                        


A. next line B. back space
C. enter key D. form feed




24.

\t refers ___________________________                        


A. next line B. back space
C. enter key D. horizontal tab space




« prev

1

2

3

4

5

next »

 
 



© 2013 freshersindia.in ® | Copyrights | Terms & Conditions
   Designed by Freshers India
Catch Us on