FeedBack Form

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

Java Basic MCQ Questions

Follow Us
1. Which one of the following is a java keyword?
  • A. Switch
  • B. While
  • C. Public
  • D. Void
  • E. All of these
Answer: C.
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.
4. Java does not define which type modifier?
  • A. Auto
  • B. Extern
  • C. Register
  • D. All of these
Answer: D.
All of these