You are on page 1of 1

Java Classes and Objects Classes are fundamental to Java. Class is template for an object.

and an object is an instance of a class. Class is basic building block of Java language. It de fines nature and shape of an object. It forms the basis for object oriented prog ramming in Java. Suppose we want to implement a online shopping website such as Flipkart.com, we think the entire structure of a program into classes. We need to identify differ ent entities required to implement this system.

You might also like