English

Define the following term: Object

Advertisements

Question

Define the following term:

Object

Definition
Advertisements

Solution

An object is an instance of a class in Java that represents a real-world entity. It has its own state (data or attributes) and behaviour (methods). Objects are created using classes and are used to access data members and methods of the class.

shaalaa.com
  Is there an error in this question or solution?
Chapter 3: Programming in Java (Review of Class XI Sections B and C) - EXERCISE [Page 98]

APPEARS IN

Dheeraj Mehrotra Computer Science [English] Class 12
Chapter 3 Programming in Java (Review of Class XI Sections B and C)
EXERCISE | Q 1. (a) | Page 98
Dheeraj Mehrotra Computer Science [English] Class 12
Chapter 3 Programming in Java (Review of Class XI Sections B and C)
EXERCISE | Q 6. (b) | Page 98
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×