Core Java BSC
Core Java BSC
5. _________ keyword indicates that you are making a new class that drives
from an existing class.
a) extent b) extend
c) extends d) extents
8. _____________ method of Thread class is used to find out the priority given
to a thread.
a) Get() b) ThreadPriority()
c) GetPriority() d) GetThreadPriority()
11. Which method is called only once during the run time of your applet?
a) stop() b) paint()
c) init() d) destroy()
16. Which component is used to compile, debug and execute the java programs?
a) JRE b) JIT
c) JDK d) JVM
24. The built-in base class in Java, which is used to handle all exceptions, is
a) Raise b) Exception
c) Error d) Throwable
30. Which of these is a super class of all errors and exceptions in the Java
language?
a) RunTimeExceptions b) Throwable
c) Catchable d) None of these
34. __________ state means that the thread is ready for execution.
a) Running b) Run
c) Runnable d) StartRun