Home » Java Objective » Java Basic Objective Question

Java Basic Objective Question

Last updated:

Support this post with a reaction:

6,708 views

Answered 0 / 84 · Correct 0

  1. Q1 Easy
    What is the size of byte variable?
  2. Q2 Easy
    What is the default value of float variable?
  3. Q3 Easy
    Which of the following is not a keyword in Java?
  4. Q4 Easy
    Which method must be implemented by all threads?
  5. Q5 Easy
    What is the default value of Object variable?
  6. Q6 Easy
    Which of the following is a reserved keyword in Java?
  7. Q7 Easy
    Which keyword is used for accessing the features of a package?
  8. Q8 Easy
    Which of these operators is used to allocate memory to array variables in Java?
  9. Q9 Easy
    Which of the following is not an OOPS concept in Java?
  10. Q10 Easy
    Which of these cannot be used for a variable name in Java?
  11. Q11 Easy
    Which of these is returned by operator '&'?
  12. Q12 Easy
    Which package contains the Random class?
  13. Q13 Easy
    What is the return type of the hashCode() method in the Object class?
  14. Q14 Easy
    Which of the following is a marker interface?
  15. Q15 Easy
    Which of these is used to make a class?
  16. Q16 Easy
    What does the expression float a = 35 / 0 return?
  17. Q17 Easy
    Which of the following tool is used to generate API documentation in HTML format from doc comments in source code?
  18. Q18 Easy
    Which of the following is a valid declaration of a char?
  19. Q19 Easy
    Which of the following is a valid long literal?
  20. Q20 Easy
    What is the numerical range of a char?
  21. Q21 Easy
    Which of these methods is a part of the Java Collection class?