Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 28-12-2010
Member
 
Join Date: Mar 2010
Posts: 1,003
What are objects and classes in C++?

Hey friends, I am having a test in my classes after two days but still I am not able to understand the term object and classes in C++.. I. I attempted to do by myself but was unable do so. I want to apparent my theory in the this topic which I think is the base of the C++. So, if anybody having any facts or information related to this subject than please let me know.
Reply With Quote
  #2  
Old 28-12-2010
Member
 
Join Date: May 2009
Posts: 533
Re: What are objects and classes in C++?

Objects are the basic elements of the OOPL. They are the basic run entity and distinguishable from other. Each object has its own identity. The objects serve two purposes. They promote understanding of real world and provide a practical basis for computer implementation. Program objects should be chosen such that they match the real world objects. Objects can interact without having to know details of each other?s data or code.
Reply With Quote
  #3  
Old 28-12-2010
Member
 
Join Date: May 2009
Posts: 523
Re: What are objects and classes in C++?

A class is a group of objects with similar properties, common behavior, common relationship to other objects and common semantics. Once a class has been defined we can create any number of objects belonging to the same class. Classes are user defined data types and behave like the built in types of programming language.
Reply With Quote
  #4  
Old 28-12-2010
Member
 
Join Date: May 2009
Posts: 525
Re: What are objects and classes in C++?

The abstraction is the selective examination of certain aspect of a problem .The basic goal of abstraction is to separate those aspects which are important for some purpose from those which are not important. Many different abstraction of the same things are possible, depending on the purpose for which they are made. Data abstraction is the process of defining a data type often called Abstract Data Type(ADT) together with the principle of data hiding. .In OOPL classes use the concept of abstraction and are defined as list of abstract attributes.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "What are objects and classes in C++?"
Thread Thread Starter Forum Replies Last Post
What is the use of Classes and objects in Visual basic? Palnila Software Development 3 02-01-2011 07:19 AM
Problems with object-oriented programming, classes, objects, functions Lakshmigopal Software Development 5 04-12-2010 11:01 AM
Comparison of two classes Chrisch Software Development 3 12-10-2009 11:33 AM
C # using classes in C + + klite Software Development 3 01-10-2009 10:15 AM
Classes in VB.NET Samir_1 Software Development 2 10-04-2009 12:07 AM


All times are GMT +5.5. The time now is 09:08 PM.