UrbanPro

Learn C++ Language from the Best Tutors

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

Search in

What is the difference between an object and a class?

Asked by Last Modified  

Follow 0
Answer

Please enter your answer

1.5 years of experience in teaching IT and computer subjects to engineering, diploma and BSc students.

A class combines data representation and methods for manipulating that data into one neat package and is used to specify the form of an object. An object is an instantiation of a class.
Comments

C/C++/.Net Trainer

A class is like a design to create objects., An object is like an instance of a class. Example code below: class Employee { private int EmpId; private int EmpName; public void ReadEmployeeData() { statements here..... ............................... } public...
read more
A class is like a design to create objects., An object is like an instance of a class. Example code below: class Employee { private int EmpId; private int EmpName; public void ReadEmployeeData() { statements here..... ............................... } public void PrintEmployeeData() { statements......... .......................... } } THE ABOVE IS AN EXAMPLE FOR A CLASS Object for above class we declare like this: Employee emp = new Employee(); Here emp is an object. For a single class you can create any number of objects. read less
Comments

C/C++ & UNIX Shell Scripting Programmer & Tutor

Simple analogy is consider Animals as class and say humans , lions, tigers as objects. So class is a blueprint and object is an instance. Class has some properties like animals have legs they can walk talk etc and object is a refined instance of class that exhibits these so that means like humans can...
read more
Simple analogy is consider Animals as class and say humans , lions, tigers as objects. So class is a blueprint and object is an instance. Class has some properties like animals have legs they can walk talk etc and object is a refined instance of class that exhibits these so that means like humans can walk and talk. Animals can run and eat. read less
Comments

View 1 more Answers

Related Questions

How develop the logic of C++?­

 

 

Well there is no logic behind it. You learn by doing things.A Problem is nothing but a real life scenerio , So how will you solve a partiular problem in real life. You can apply that method to solve problem in programming.
Dipali
0 0
7
What are the toughest topics in C language?
1. pointer 2. dynamic memory allocation 3. File handling
Lokayya
0 0
5
What is the use of virtual keyword in inheritance?
use of virtual keyword in inheritance-------> Multiple inheritance in C++ is a powerful, but tricky tool, that often leads to problems if not used carefully. This article will teach you how to use virtual...
Shabbir
Is there any person who can teach me C++ without Money Fees?
Good question :) Free training is available on various sites online. But, if you would want to learn from an expert directly, there's a very slim chance that you might find some one who will teach for...
Kishan
Explain about member functions?
Member functions are part of the class, member functions are used to access, member variable in private, protected, public area and also call another member functions.
Zeeshan
0 0
5

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

Ask a Question

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 >

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

Read full article >

Almost all of us, inside the pocket, bag or on the table have a mobile phone, out of which 90% of us have a smartphone. The technology is advancing rapidly. When it comes to mobile phones, people today want much more than just making phone calls and playing games on the go. People now want instant access to all their business...

Read full article >

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

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