Java MCQ Questions and Answers |
Üdvözöllek a Fórumban! ( Bejelentkezés | Regisztráció )
Java MCQ Questions and Answers |
Guest_readmcqs_* |
![]()
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! |
|
|
![]() ![]() ![]() |
Szöveges verzió | A pontos idő: 16th August 2024 - 03:53 PM |