PRACTICE JAVA
____ is used to find and fix bugs in the java program?
a) JVM b) JRE c) JDK d) JDB Answer d) JDB
In which of the following package Exception class exist?
a) Java. util b) Java. file c) Java.io d) Java.lang Answer d) Java.lang
Which keyword is used to import a package from the Java API library?
a) lib b) package c) getlib d) import Answer d) import
What is the output of the below Java program with constructors?
a) Count=0 b) Count=10 c) Compile error d) None of the above Answer c) Compile error
Which of the following is a mutable class in java?
a) java.lang.String b) java.lang.Byte c) java.lang.Short d) java.lang.StringBuilder Answer d) java.lang.StringBuilder
Which of the following method cannot be overridden?
a) Static b) Abstract c) Final d) Void Answer b) Final

Aniket Malik
CERTIFIED TUTOR/TRAINER WITH 300+ REVIEWS
My students are the presents from God to me
Do you want to learn
Programming?
Hey, I’m Aniket. I’m determined to make you one of the best developers in the history of Information technology.
My only question is, are you ready?