What is Object in Java? | Core Java Tutorials

This Core Java Tutorials “What is Object in Java” post explaining clearly what is real world entity and how to use object in java application development.


 

Object:

  • A real world entity/substance is called Object & it is having 3 things….
    1. Identity / name
    2. Properties / variables
    3. Functionality / methods

 

Object type : Human

Identity : Syam
Properties : Color, Height, Weight, Age, Qualification……
Functionality : read( ) , see() , walk( ), swim( ), drive( ), teach( )……

 

Object type : Mobile

Identity : Samsung
Properties : Model, price, configuration, color……
Functionality : call( ), message( ), browse(), play( )……

 

Note :

  • Objects will participate in the process of communication using functionality (methods).
  • In the process of communication, Objects will share properties information…..

Share this