Interview questions
JAVA interview questions – page 83
2,804 questions. Tap “Show answer” to check yourself.
-
Mention the difference between StringBuffer and StringBuilder class?
-
In java for pattern matching with regular expressions which package is used?
-
What is Checked Exceptions?
-
Can you tell java.util.regex consists of which classes?
-
Tell me about Abstraction?
-
What is Runtime Exceptions?
-
Tell me the things should be kept in mind while creating your own exceptions in Java?
-
When do you think Abstract methods are used?
-
Define Polymorphism?
-
Tell the two subclasses under Exception class?
-
What is immutable object?
-
When do you think super keyword is used?
-
When do you think throws keyword is used?
-
Define Abstract class?
-
What is JRE i.e. Java Runtime Environment?
-
What do you think is the purpose of default constructor?
-
Tell me if a constructor can be made final?
-
What do you mean by a WAR file?
-
What is Packages in Java?
-
What do you mean by Comparable Interface?
-
What is Set Interface?
-
What do you mean by JAR file?
-
Tell me about TreeSet?
-
What is Multithreaded program?
-
What do you mean by an Interface?
-
Tell me some features of Interface?
-
What are the two ways in which Thread can be created?
-
Define an applet?
-
Why do you think Packages are used?
-
An applet can be extended to which class?