0% found this document useful (0 votes)
3 views1 page

Java b1

The document outlines an AIM-Program focused on understanding and implementing a simple Java program using classes and objects. It explains that a class serves as a blueprint for creating objects, which are instances of classes that define properties and behaviors. The objective is to learn how Java treats data and behavior in an object-oriented manner using tools like Eclipse and Notepad++.

Uploaded by

hitep87172
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

Java b1

The document outlines an AIM-Program focused on understanding and implementing a simple Java program using classes and objects. It explains that a class serves as a blueprint for creating objects, which are instances of classes that define properties and behaviors. The objective is to learn how Java treats data and behavior in an object-oriented manner using tools like Eclipse and Notepad++.

Uploaded by

hitep87172
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

AIM-Program on class and objects.

OBJECTIVE-To understand & implement a simple java program using classes &
objects & to learn how java treats data & behavior in an object-oriented manner.
TOOLS- Eclipse,Notepad++,Java(JDK)
THEORY-
1] What is class in java?
 In Java, classes and objects are fundamental building blocks of object-oriented
programming. A class is a blueprint for creating objects, providing initial values for
member variables and implementations of behaviors (methods).

2] What is object in java?


 An object is an instance of a class. A class acts as a blueprint or a template that
defines the properties (fields/attributes) and behaviors (methods/functions) that its
objects will possess. When you create an object, you are essentially creating a
concrete realization of that class blueprint.

3] Why do we use classes &objects in java?

You might also like