What is object in Java with realtime example?

It is any real-world thing that has properties and actions . In other words, an entity that has state and behavior is known as object in Java. Here, state represents properties and behavior represents actions or functionality. For example, book, pen, pencil, TV, fridge, washing machine, mobile phone, etc.

Sizin İçin Seçtik  How do you invest in a wormhole?

Leave a Reply

Your email address will not be published. Required fields are marked *

What is object in Java with realtime example?

It is any real-world thing that has properties and actions . In other words, an entity that has state and behavior is known as object in Java. Here, state represents properties and behavior represents actions or functionality. For example, book, pen, pencil, TV, fridge, washing machine, mobile phone, etc.

Sizin İçin Seçtik  Dolar kac lira 2022?

Leave a Reply

Your email address will not be published. Required fields are marked *