What are objects in programming language? - ProProfs Discuss
Advertisement

What are objects in programming language?

Asked by Mgabr, Last updated: Apr 29, 2024

+ Answer
Request
Question menu
Vote up Vote down

2 Answers

g.Kenneth

g.Kenneth

g.Kenneth
G.Kenneth

Answered Jan 24, 2018

An object can best be defined as something that can be analyzed through the sight, nose, touch, feel and taste. When discussing computer programming, there are object-orienting programming which is a type of programming where it has objects in them. These objects may have data in them. A class will create these objects. An instance of the class is when an object is made from the class’s constructor.

There are some true things to be said about objects and classes. First, an object is an instance of a class because it was created by the constructor of the class. Second, the objects can access both instance and static data. Third, all classes extend the object class. Objects do permit encapsulation.

upvote downvote
Reply 

John Smith

John Smith

John Smith
John Smith

Answered Jan 01, 2017

D. Objects do not permit encapsulation
upvote downvote
Reply 

Advertisement
Advertisement
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader

Email Sent
We have sent an email to your address "" with instructions to reset your password.