

JSON (JavaScript Object Notation) is a lightweight data-interchange format.
JAVA INTERVIEW QUESTIONS FOR 3 YEARS EXPERIENCE HOW TO
Please visit complete tutorial for more info: Interview Question 6: What is JSON and How to read JSON object from file? This one is the more frequently asked question. Please take a look at detailed tutorial: Interview Question 5: Write a program in Java which Counts total number of Characters, Words and Lines Java Virtual Machine or JVM uses this memory for all its need and part of this memory is call java heap memory. When a Java program starts, Java Virtual Machine gets some memory from Operating System. Kindly take a look at detailed example: Interview Question 4: What is JVM? Are you aware of Heapsize, Stacksize & Garbage Collection? Please share some more light. This is useful when exactly one object is needed to coordinate actions across the system. The singleton pattern is a design pattern that restricts the instantiation of a class to one object. Kindly take a look at complete example: Interview Question 3: What is Singleton Pattern and Do you know how to make it Thread-Safe and Fast? If normal threads are not running and remaining threads are daemon threads then the interpreter exits. Daemon threads are used for background supporting tasks and are only needed while normal threads are executing. Interview Question 2: Are you aware of Daemon Thread in Java?ĭaemon threads in Java are like a service providers for other threads or objects running in the same process as the daemon thread. Polymorphic method invocations apply only to overridden instance methods.A single object can be referred to by reference variables of many different types -as long as they are the same type or a supertype of the object.A reference variable is always of a single, unchangeable type, but it can refer to a subtype object.Inheritance is a key concept that underlies polymorphism, overriding, overloading and casting.


Instance variables are kept protected (usually with the private modifier).Encapsulation is a mechanism by which developer could hide implementation behind an interface.Let’s get started… Interview Question 1: What are the main 3 Object Oriented Programing (OOP) concepts? 1. java interview questions for 5 years experience.java interview questions for experienced professionals.java interview questions and answers for 3 years experience.java interview questions for experienced.java interview questions and answers for freshers.

Provide your feedback and suggestions if you want us to put next top 10 interview questions.Īlso, if you below all questions then you are at right place. This is a 1st part of the Java Interview Questions and we do have top 10 in this post. Please note – there is no such thing about best Interview questions but we can try our best to cover all basic fundamentals about Java, Spring MVC, Maven, Apache Tomcat and J2EE tips in this interview sessions. I’ve been thinking about this since last week and finally decided to put top Java Interview questions on Crunchify. Since last year I received so many emails (weekly more than 10 emails) asking about why not to post Java Interview Questions and answers for readers.
