{"success":true,"message":"Connection to JAVA QnA route successful.","qnadata":[{"id":1,"question":"What is the difference between JDK, JRE, and JVM?","answer":"JDK (Java Development Kit) provides tools to develop Java applications, including the compiler. JRE (Java Runtime Environment) provides the libraries and JVM required to run Java applications. JVM (Java Virtual Machine) executes Java bytecode and enables platform independence.","difficulty":"easy"},{"id":2,"question":"What are the four pillars of Object-Oriented Programming (OOP) in Java?","answer":"The four pillars of OOP are Encapsulation, Inheritance, Polymorphism, and Abstraction. These concepts help organize code into reusable, maintainable, and modular components.","difficulty":"easy"},{"id":3,"question":"What is the difference between == and .equals() in Java?","answer":"The == operator compares whether two references point to the same object in memory, while the .equals() method compares the contents or values of objects. For String comparisons, .equals() should generally be used.","difficulty":"easy"},{"id":4,"question":"What is the difference between ArrayList and LinkedList?","answer":"ArrayList stores elements in a dynamic array, making random access fast but insertions and deletions in the middle slower. LinkedList stores elements as linked nodes, making insertions and deletions efficient but random access slower.","difficulty":"easy"}]}