Download presentation
Presentation is loading. Please wait.
Published byLuis Miguel Córdoba Modified over 5 years ago
1
By Rajanikanth B www.btechsmartclass.com
Objects in Java By Rajanikanth B
2
What is an object in the real world?
Introduction Before start….. Try to answer the following…. What is an object in the real world? Is this Apple an object? Is cup an object?
3
Identity of an Object Every object in the world have its won identity
4
Attributes of an Object
Every object have their won attributes which describes the current state of an object…. Object can have multiple attributes An apple can be Red or Green An cup can be Full or Empty An light can be ON or OFF
5
Object can have multiple behaviors
Behavior of an Object Every object have behavior…. Object can have multiple behaviors An Aeroplane can Fly A telephone can Ring Student can write exams
6
Now….. Lets start…. What is an OBJECT in computer programming ??????? BankAccount Name: Rahul AccNumber: 12345 Balance: Rs 12000 Address: Hyd deposit( ) withdraw( ) changeAtmPin( ) Attributes All real world objects can be computer programming object But behavior Programming Object are not always Physical items in the real world And they are not always Visible items
7
Classes in Java Programming
Next…. Classes in Java Programming In Slide Show mode, click the arrow to enter the PowerPoint Getting Started Center.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.