Online Test



What allows the programmer to destroy an object x?

Which of these methods can be used to obtain the reference to the container that generated a ContainerEvent?

What are the pillars of OOPS concept?

Which three are methods of the Object class?

  1. notify();
  2. notifyAll();
  3. isInterrupted();
  4. synchronized();
  5. interrupt();
  6. wait(long msecs);
  7. sleep(long msecs);
  8. yield();

What is Truncation is Java?

Which of the following are Java reserved words?

  1. run
  2. import
  3. default
  4. implement

Which of the following is correct way of importing an entire package ‘pkg’?

JAR stands for?

What is the range of data type short in Java?

What will this code print?
int arr[] = new int [5];

Which of the following package stores all the standard java classes?

Which two of the following methods are defined in class Thread?

  1. start()
  2. wait()
  3. notify()
  4. run()
  5. terminate()

Which of this access specifies can be used for a class so that its members can be accessed by a different class in the same package?

Which of these is necessary condition for automatic type conversion in Java?

Which class does not override the equals() and hashCode() methods, inheriting them directly from class Object?


About Us is an online learning website.We cover the latest tech news,online tutorials,blog,online test for Aptitude,C,Java,PHP to improve your knowledge.


Follow TechEpi on