Java interview questions- Top core question answers download pdf
It’s not easy to answer, yeah, we are speaking about the Java interview questions, we hope you are also shaking your head to agree with us. But we are glad to inform you that you have landed in the correct place. Here we provided you the most important tough and tricky top core Java interview questions and answers in pdf format which ensure you the free download. This is not only provided for Freshers but also for experienced professionals with 1yr, 2yr, 3yr, 4yr, 6yr and above experience.
Core Java interview questions and answers advanced/basic for Freshers & experienced
This core Java interview questions and answers for Freshers and experienced is given here will definitely help you to crack the technical HR round in big MNC’s. Those companies include Accenture, CTS (Cognizant), Oracle, Microsoft, IBM, Amazon, I&T Infotech, Infosys, Wipro etc. So try out all these advanced/difficult and basic questions and do well in your interview.
Java questions for technical interview latest list with examples
Java technical interview HR questions are available here, including exceptions handling, string, array, inheritance, swing, encapsulation, multithreading, stack overflow, recursion, static variable, serialization etc.
1. Give the important feature of Java?
The most important feature of Java, is it is a platform independent language.
2. List out the data types supported by Java?
3. Whether Java supports multiple inheritance? Discuss
The answer is No, It does not support. Each class can only extend on one class, but can able to execute more than an interface.
4. What are the thread states available in a high level?
The high level thread states are running, ready, dead and waiting state.
5. Differentiate throw and throws?
Within a program to raise the exception explicitly, the keyword throw is used. The keyword throws is used to specify those exceptions which are not handled by a method.
6. Define package?
A collection of related interfaces and classes is said to be the package. The first statement in a Java class should be the package declaration.
7. Define a marker interface?
Inside an interface, still enforces a mechanism, even it doesn’t have any declaration which is said to be a marker interface.
8. Define member, local and class variable?
Within a class (not within methods) when variables are declared then they are member variables.
Within a method when variables are declared then they are local variables.
Within a class (not within methods) when variables are declared and which are defined as static is said to be class variables.
9. Define layout manager?
To organize the components in a container, layout manager is used.
10. What are the types of casting?
- Casting between object references.
- Casting between primitive numeric types.
Check out the video lecture given below which explains you the Java interview questions in more detailed manner,
Hope you understand a lot from this video tutorial, if you want further interview related queries, visit our website. Comment on this post below, so we will answer your questions soon.