1. Question 1. When the compiler encounters an Exception error in the main thread java.lang.NoClassDefFoundError: myprogram. What does this error mean?
    1. Program path is wrong
      1. There is no main function
    2. Do not declare class
    3. There is no public keyword at the beginning of class declaration
  2. Question 2. What is the object in the software?
    1. Is a bundle of software that consists of related behaviors and states
    2. Is a defining object of the real world
    3. An object consisting of behavior and state
    4. Objects that are represented in software include 2 data field attributes and data processing methods
  3. Question 3. Which of the following is correct?
    1. public class default {}
    2. protected inner class engine {}
    3. final class outer {}
    4. All is wrong
  4. Question 4. Which of the following is incorrect?
    1. 2word
    2. * word
    3. main
    4. All is wrong
  5. Question 5. How many main methods will there be in a 2-class program?
    1. first
    2. 2
    3. 3
    4. 4
  6. Question 6. How many parent classes can a class in Java have?
    1. first
    2. 2
    3. 3
    4. 4
  7. Question 7. How many subclasses does a class in Java have?
    1. 2
    2. 3
    3. 4
    4. Countless
  8. Question 8. How do I declare Xedap1 class to inherit Xedap class?
    1. class Xedap1 extend Xedap {}
    2. public classs Xedap1 extend Xedap {}
    3. class Xedap1 extends Xedap {}
    4. All is wrong
  9. Question 9. Choosing the best answer What is interface?
    1. A class containing related empty methods
    2. A reference type, similar to a class, can only contain value constants, method declarations and nested types
    3. Is an implementation method of another class
    4. Is the connection layer between the base class and the parent class
  10. Question 10. To use the Xedap interface for class Xedap1, how do we do it?
    1. class Xedap1 implement Xedap {}
    2. public class Xedap1 implement Xedap {}
    3. class Xedap1 implements Xedap {}
    4. public class Xedap1 extends Xedap {}