Results 1 to 4 of 4

Thread: What are objects and classes in C++?

  1. #1
    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.

  2. #2
    Join Date
    May 2009
    Posts
    543

    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.

  3. #3
    Join Date
    May 2009
    Posts
    527

    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.

  4. #4
    Join Date
    May 2009
    Posts
    529

    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.

Similar Threads

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

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,245,225.93349 seconds with 16 queries