Core Java Questions
Q #1) What is JAVA? Answer: Java is a high-level programming language and is platform-independent. Java is a collection of objects. It was developed by Sun Microsystems. There are a lot of applications, websites, and games that are developed using Java. Q #2) What are the features of JAVA? Answer: Features of Java are as follows: OOP concepts Object-oriented Inheritance Encapsulation Polymorphism Abstraction Platform independent: A single program works on different platforms without any modification. High Performance: JIT (Just In Time compiler) enables high performance in Java. JIT converts the bytecode into machine language and then JVM starts the execution. Multi-threaded: A flow of execution is known as a Thread. JVM creates a thread which is called the main thread. The user can create multiple threads by extending the thread class or by implementing the Runnable interface. Q #3) How does Java enable high performance? Answer: Java uses Just In Ti...