Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

151.

What is Abstract class?

Answer»
152.

What is Polymorphism?

Answer»
153.

When super keyword is used?

Answer»
154.

Define Inheritance?

Answer»
155.

What things should be kept in mind while creating your own exceptions in Java?

Answer»
156.

How finally used under Exception Handling?

Answer»
157.

When throw keyword is used?

Answer»
158.

When throws keyword is used?

Answer»
159.

Which are the two subclasses under Exception class?

Answer»
160.

Explain Runtime Exceptions?

Answer»
161.

What do you mean by Checked Exceptions?

Answer»
162.

What is an Exception?

Answer»
163.

What is finalize() method?

Answer»
164.

java.util.regex consists of which classes?

Answer»
165.

Which package is used for pattern matching with regular expressions?

Answer»
166.

What is the difference between StringBuffer and StringBuilder class?

Answer»
167.

Why is StringBuffer called mutable?

Answer»
168.

Why is String class considered immutable?

Answer»
169.

When parseInt() method can be used?

Answer»
170.

Variables used in a switch statement can be used with which datatypes?

Answer»
171.

According to Java Operator precedence, which operator is considered to be with highest precedence?

Answer»
172.

What do you mean by synchronized Non Access Modifier?

Answer»
173.

What is protected access modifier?

Answer»
174.

What do you mean by Access Modifier?

Answer»
175.

When a byte datatype is used?

Answer»
176.

What is the default value of float and double datatype in Java?

Answer»
177.

What is the default value of byte datatype in Java?

Answer»
178.

List the three steps for creating an Object for a class?

Answer»
179.

What do you mean by Constructor?

Answer»
180.

What is Singleton class?

Answer»
181.

What is a Class Variable?

Answer»
182.

What is a Instance Variable?

Answer»
183.

What is a Local Variable?

Answer»
184.

What kind of variables a class can consist of?

Answer»
185.

Define class?

Answer»
186.

What do you mean by Object?

Answer»
187.

List some Java keywords(unlike C, C++ keywords)?

Answer»
188.

List two Java IDE’s?

Answer»
189.

What is Java Virtual Machine and how it is considered in context of Java’s platform independent feature?

Answer»
190.

Why Java is considered dynamic?

Answer»
191.

How Java enabled High Performance?

Answer»
192.

Why is Java Architectural Neutral?

Answer»
193.

List any five features of Java?

Answer»
194.

What are the supported platforms by Java Programming Language?

Answer»
195.

What do you know about Java?

Answer»