java interview questions

Exceptions Interview Questions

What is an exception?The English literature meaning is "something that happens unusually (very rarely)". It is the same meaning with Java also. Exception can be defined as a problem occurring at runtime that prevents the execution of the program. Or to say, an exception is a runtime problem (not compile…

Object Casting Polymorphism Interview Questions

Note: Explanation is given avoiding more buzz words. Easily understandable manner. Object Casting Polymorphism Interview Questions What is casting? Converting one data type (or object) to the other is known as casting. It is required in a programming language as the user entered data may be in different form than…

Test Your Java 1

Test Your Java 7 and Test Your Java 8 are advanced questions. Answers are given for each question at the end of each test. Answering these questions increases your knowledge in Java and helps you a lot when you appear for interviews. Solving these basic questions is your first step…