eQuiz - Multiple choice quiz about JAVA

  1. Question 1. What is the size of 1 Char?
    1. 4 bit
    2. 7 bit
    3. 8 bit
    4. 16 bit
  2. Question 2. 1 class cannot be declared in mode
    1. Static
    2. private
    3. Default
  3. Question 3. Results after compiling int a code = 3.5
    1. Lỗi compilation
    2. Runtime error
    3. 3.5
    4. 3
  4. Question 4. Result when compiling int a1 = 5; double a2 = (float) a1
    1. Lỗi compilation
    2. Runtime error
    3. Không lỗi
  5. Question 5. The result after compiling int a = 9/0 code
    1. Compilatinon error: The division calculation must be in the try syntax
    2. Compilation error: DivideByZeroException
    3. Runtime Exception
    4. No Error: The result is NaN
  6. Question 6. Result after compiling code: float a = 9/0
    1. Compilation error: The division calculation must be in the try syntax
    2. Compilation error: DivideByZeroException
    3. Runtime Exception
    4. No Error: The result is NaN
  7. Question 7. 1 Class can work in transient - transient mode
    1. It's correct
    2. False
  8. public static void main (String [] args) {System.out.println ('b is' + b);}}
    1. Lỗi compilation
    2. Runtime Error
    3. Runtime Exception
    4. The result of b is 1
  9. }} class B extends A {}
    1. Lỗi compile
    2. Runtime Exception
    3. Không lỗi
  10. Question 10. Results after compiling code: class A {public static void main (String [] args) {A a = new B ();}} class B extends A {}
    1. Error compiler
    2. Runtime Exception
    3. Không lỗi
  11. Question 11. Structured, protected syntax can be called in any subclass of that class
    1. It's correct
    2. False
  12. Question 12. A abstract class can use the syntax of non - abstract
    1. It's correct
    2. False
  13. Question 13. Java keywords are declared in lowercase as well as in capital letters
    1. It's correct
    2. False
  14. Question 14. What is the instanceof concept?
    1. Is the structure, command syntax in 1 object
    2. Is the operator structure and keywords
  15. Question 15. Primitive datatype is allocated based on stack
    1. It's correct
    2. False
  16. Question 16. Can compare boolean value with integer
    1. It's correct
    2. False
  17. Question 17. If class A works with the interface part, it must implement all the interfaces of that interface
    1. Yes, always like that
    2. No, unless that class A is abstract
  18. Verse 18. Integer a = new Integer (2); Integer b = new Integer (2). What happens if we apply if (a == b) syntax?
    1. Error compiler
    2. Runtime Exception
    3. It's correct
    4. False
  19. Question 19. Does wait (), notify () and notifyAll () structure in an object need to be called from the synchronized code?
    1. It's correct
    2. False
  20. Question 20. The Inner class can be initialized within the building blocks
    1. It's correct
    2. False
  21. Question 21. Synchronized is a keyword used to Thread choose any object that has been locked before continuing to execute the command
    1. It's correct
    2. False
  22. Question 22. The default switch syntax is always executed
    1. It's correct
    2. False
  23. Question 23. How to prevent 1 variable - variable becomes serialized - has serial capability
    1. Marked as private
    2. Marked as volatile
    3. Marked as transient
    4. It is impossible to do
4 ★ | 2 Vote

May be interested

  • eQuiz - Multiple choice test on Java Swing PracticeeQuiz - Multiple choice test on Java Swing Practice
    welcome to the test series of tipsmake.com with topics related to the fields of information technology. and this time we will continue with the java swing practice test, a total of 13 questions will be answered with no time to answer each sentence. there will be some questions with many different answer options
  • JAVA test on P3JAVA test on P3
    java is a high-level programming language, if you are interested in learning about this programming language, the following test of network administrator will give you lots of useful information.
  • Testing test on JAVA P2Testing test on JAVA P2
    multiple choice questions on java programming help you test your basic knowledge of this programming language. the set of questions includes 10 sentences to try.
  • Test on JAVA P10 testTest on JAVA P10 test
    multiple choice questions on java programming help you test your basic knowledge of this programming language. the set of questions includes 10 sentences to try.
  • eQuiz - Quiz on Core Java - Part 1eQuiz - Quiz on Core Java - Part 1
    in the quiz below, you will be able to challenge the most basic questions related to core java - one of the most popular programming languages ​​today.
  • eQuiz - Multiple choice test on PHP Practice - part 1eQuiz - Multiple choice test on PHP Practice - part 1
    in the quiz below, we will introduce you to part 1 of the test series of basic knowledge about php practive with 15 questions.
  • eQuiz - VB.NET testing test - Part 2eQuiz - VB.NET testing test - Part 2
    in the previous article, i showed you the first part of the vb.net test. and this time, we will continue with part 2 of this popular quiz series on programming languages, the whole test will have 15 questions with unlimited response time.
  • eQuiz - Multiple choice test on programming language C - part 1eQuiz - Multiple choice test on programming language C - part 1
    this is part 1 of a series of tests on knowledge of c programming language, in total there will be 15 questions with no time for answering each sentence.
  • eQuiz - Test of knowledge about the browsereQuiz - Test of knowledge about the browser
    tipsmake.com has sent a series of quizzes to readers for some basic programming languages ​​for beginners. in today's article will be a multiple choice question about web browser. it seems that this topic is very familiar, let's try to see how many sentences you answered correctly!
  • eQuiz - Multiple choice test on HTML knowledgeeQuiz - Multiple choice test on HTML knowledge
    in this test, we will proceed with the small html test, there will be 30 questions in total with no response time, you must choose the answer in each question. can continue to the next sentence.