0% found this document useful (0 votes)
7 views7 pages

005 Java Objects

The document discusses the concept of objects in Java programming, highlighting their identity, attributes, and behaviors. It uses real-world examples, such as apples and cups, to illustrate these concepts. The document also introduces the idea of classes in Java as a way to define objects and their functionalities.

Uploaded by

Alex Abhisek
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views7 pages

005 Java Objects

The document discusses the concept of objects in Java programming, highlighting their identity, attributes, and behaviors. It uses real-world examples, such as apples and cups, to illustrate these concepts. The document also introduces the idea of classes in Java as a way to define objects and their functionalities.

Uploaded by

Alex Abhisek
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 7

Objects in Java

By

Black-clouds

Trying to best a presentation on my life


Introduction

• Before start….. Try to answer the following….

What is an object in the real


Is this Apple an Is cup an
world?
object? object?
Identity of an Object

Every object in the world have its won


identity
Attributes of an Object
Every object have their won attributes which describes the current state of an
object….

An apple can be Red or Green


Object can
have
multiple
An cup can be Full or Empty
attributes
An light can be ON or OFF
Behavior of an Object

Every object have behavior….

An Aeroplane
Objectcan Fly
can
have
multiple
A telephone can Ring
behaviors
Student can write exams
Now….. Lets start….

What is an OBJECT inBankAccount


computer programming ???????
Name: Rahul
All real world objectsAccNumber:
can be computer
12345
Balance: Rs 12000
programming
Attributes object
Address: Hyd

deposit( )
withdraw( ) behavior
changeAtmPin( )

gramming Object are not always Physical items in the real wo


And they are not always Visible items
Classes in
Next….
Java Programming

You might also like