UrbanPro

Learn C++ Language from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

What is an object?

Asked by Last Modified  

Follow 0
Answer

Please enter your answer

14 Year Experienced in Teaching Maths, Physics and Chemistry.

variable created for the data type class
Comments

Tutor

An object is simply an instance of a class.
Comments

Conceptual Learner, Critical Thinker

Before defining the object, i would like you to remind the built in data types (int, float, char etc) and user defined data types (Struc, Union, Class etc). To identify any data types, we declare variable (Variable is an identifier). For ex- Int x, y; Float a, b; this x and y or and b identify or point...
read more
Before defining the object, i would like you to remind the built in data types (int, float, char etc) and user defined data types (Struc, Union, Class etc). To identify any data types, we declare variable (Variable is an identifier). For ex- Int x, y; Float a, b; this x and y or and b identify or point out the "type of data or characteristics of data" stored in it. In similar way, object is another variable of type Class which can represent any real world entity or its attribute. For example, Apple, Orange, Banana all comes under one category Fruit. It has many attribute like color, size, taste etc. To simplify the representation of fruits, we defines user built data type called Class. Declaration: Class Fruit { String color, taste; / /These are the properties of fruit. float price, amount; } Object declaration // In similar way of user defined data type like Int a, b; Fruit apple, orange, banana; // these are the variables/instances of fruit. read less
Comments

Software Developer and Trainer with 10 years of experience

An object is an instance of a class. It is an entity created as per the specifications and behaviour coded in the class. Say you have a class Wallet that defines a Wallet (Purse) . And you have specified in the class like it have 2 compartments, 2 pouches, one notepad. Also you have coded the behaviour...
read more
An object is an instance of a class. It is an entity created as per the specifications and behaviour coded in the class. Say you have a class Wallet that defines a Wallet (Purse) . And you have specified in the class like it have 2 compartments, 2 pouches, one notepad. Also you have coded the behaviour of the Wallet is to keep Money, take Money and money Left. If you create an object to the class Wallet name MyWallet, you are creating a Wallet with the name MyWallet. You can keep or take any amount of money depending on the money left. Similarly you can create any number of wallets using the Wallet Class as and when required. read less
Comments

Tutor

In the class-based object-oriented programming paradigm, "object" refers to a particular instance of a class where the object can be a combination of variables, functions, and data structures.
Comments

View 3 more Answers

Related Questions

Is C++ is next version of C?
This feature looks pretty sweet. This would be great because you wouldn't need getters any more. You could make member variables public; later, if you change your mind, you can turn them into property.
Subham
please tell me the best book for c programming language
LET US C by Yashwant Kanetkar. This book is very useful to improve the practical Knowledge. For Theory - Programming in C by Balagurusamy
Sunil
how to use dos.h
First include dos.h header file then use their function. Before use function, you must have knowledge of dos functions and their charactistics
Aman
What is meaning of C++?
C++ is an advancement of C language.It is the that language which consists the concepts of OOP or lets say OBJECT ORIENTED PROGRAMMING( OOP ).The benefits of C language as it more secure in programming,...
Moinuddin
What is the best IDE for C and C++ development?
If you're a student then Turbo C++ is best for C and C++ program + inbuilt C/C++ Graphics Function If you're a professional or working then Netbeans for C/C++ or Code:: Blocks is Best.
Balakrishnasingh

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Do You Know How Is Size Of Structure Defined?
Size of the structure is defined based on multiplies of bigger data type member in the structure. Example: If a structure contains integer, char, short data type, then size of the Structure will be multiples...

Tress And Its Traversal
Depth First Traversals:(a) Inorder (Left, Root, Right) : 4 2 5 1 3(b) Preorder (Root, Left, Right) : 1 2 4 5 3(c) Postorder (Left, Right, Root) : 4 5 2 3 1 Trees are one of the data structures like...

Why do pointers have a datatype?
Before we start with pointers you must know what is a variable and a datatype. int a; This is the basic line in every program in 'C' . It means that we are asking the compiler to give us 2 bytes of space...

Is It Fine To Write “void main()” Or “main()” In C/C++?
The definition: void main() { /* ... */ } Is not and never has been C++, nor has it even been C. See the ISO C++ standard 3.6.1 or the ISO C standard 5.1.2.2.1. A conforming...

C++ Program[Working with structure]
//Header files #include<iostream>#include<cstring> //Namespace usedusing namespace std; //Structure definition struct store{ int p_id; char p_name; int quantity; float price; float amount; }; //...
S

Recommended Articles

Introduction C++ is an excellent programming language and many of the applications are written in C++ language. It has generic, object-oriented & imperative programming features, and also provides facilities for low-level memory manipulation. Successor of C language, it is an OOP (object oriented programming) language...

Read full article >

Hadoop is a framework which has been developed for organizing and analysing big chunks of data for a business. Suppose you have a file larger than your system’s storage capacity and you can’t store it. Hadoop helps in storing bigger files than what could be stored on one particular server. You can therefore store very,...

Read full article >

Applications engineering is a hot trend in the current IT market.  An applications engineer is responsible for designing and application of technology products relating to various aspects of computing. To accomplish this, he/she has to work collaboratively with the company’s manufacturing, marketing, sales, and customer...

Read full article >

Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...

Read full article >

Looking for C++ Language Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

Looking for C++ Language Classes?

The best tutors for C++ Language Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn C++ Language with the Best Tutors

The best Tutors for C++ Language Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more