Core Java – Brief Explanation
1. What is Java?
Java is a high-level, object-oriented programming language developed by Sun Microsystems. It
follows the principle: Write Once, Run Anywhere.
2. Features of Java
• Simple and easy to learn
• Object-Oriented
• Platform Independent
• Secure
• Multithreaded
• Robust
3. JVM, JRE, JDK
• JVM: Executes Java bytecode
• JRE: JVM + Libraries
• JDK: JRE + Development tools
4. OOP Concepts
• Class & Object
• Inheritance
• Polymorphism
• Encapsulation
• Abstraction
5. Data Types
Primitive: int, float, double, char, boolean
Non-Primitive: String, Array, Class
6. Control Statements
if, else, switch, for, while, do-while
7. Exception Handling
Used to handle runtime errors using try, catch, finally, throw, throws
8. Collections Framework
List, Set, Map, Queue used to store and manipulate data efficiently
9. Multithreading
Allows multiple threads to run simultaneously for better performance
10. Conclusion
Core Java forms the foundation for advanced Java technologies like Spring, Hibernate, and
Android.