IPB

Üdvözöllek a Fórumban! ( Bejelentkezés | Regisztráció )

 
Reply to this topicStart new topic
Java MCQ Questions and Answers
Guest_readmcqs_*
hozzászólás Ma, 10:33 AM
Létrehozva: #1





Guests






Are you looking to test your Java programming knowledge? Here are some Java Multiple Choice Questions (MCQs) along with their answers to help you sharpen your skills:
What is Java?
A. Scripting language
B. High-level programming language
C. Assembly language
D. None of the above
Answer: B. High-level programming language


Which of the following is not a Java features?
A. Dynamic
B. Architecture Neutral
C. Use of pointers
D. Object-oriented
Answer: C. Use of pointers


What is the return type of the hashCode() method in the Object class?
A. int
B. long
C. void
D. Object
Answer: A. int


Which of the following is a reserved keyword in Java?
A. object
B. strictfp
C. main
D. system
Answer: B. strictfp


What is the default value of a local variable in Java?
A. 0
B. null
C. Depends upon the type of variable
D. Not assigned
Answer: D. Not assigned

Feel free to attempt these Java MCQ questions and answers to check your understanding of Java concepts. If you have more questions or want to discuss Java programming further, join the conversation!
Go to the top of the page
 
+Quote Post

Fast ReplyReply to this topicStart new topic
16 felhasználó olvassa jelenleg ezt a témát (16 vendég és 0 anonim felhasználó)
0 felhasználó:

 



Szöveges verzió A pontos idő: 17th July 2024 - 12:26 PM