JAVA PROGRAMMING
UNIT 1
Introduction to Java:
Developed by James Gosling at Sun Microsystems. Java is a high-level, object-oriented programming lang
Class
• A class is a blueprint or template used to create objects.
• It defines variables and methods.
Object
• An object is an instance of a class.
• It represents a real-world entity and uses the properties of a class.
Example
• For example, Car is a class and BMW, Audi are objects.