FeedBack Form

Your Name :
Your Email :
Your Location :
Your Message :
   
FeedBack

Java Basic MCQ Questions

1. Which one of the following is a java keyword?
 
  • A. Switch
  • B. While
  • C. Public
  • D. Void
  • E. All of these
Answer: C.
Public
 
2. Java declaration statement must end with
 
  • A. Comma
  • B. A colon
  • C. A semicolon
  • D. Full stop
Answer: C.
A semicolon
 
 
3. The loop keyword of java is
 
  • A. Byte
  • B. While
  • C. Double
  • D. Float
Answer: B.
While
 
4. Java does not define which type modifier?
 
  • A. Auto
  • B. Extern
  • C. Register
  • D. All of these
Answer: D.
All of these