Results 1 to 3 of 3

Thread: Why Classes are made in C++

  1. #1
    Junior Member
    Join Date
    Apr 2008
    Answers
    1

    Why Classes are made in C++

    As there are structures present in C++ and we can all operation of classes on structure so why classes are made. What was the need to make them. explain it


  2. #2
    Junior Member
    Join Date
    Jul 2007
    Answers
    10

    Re: Why Classes are made in C++

    clases are called the blue print without object data can not be accesed .
    in java,c++,c# class is used becoz without object it is dummy model.


  3. #3
    Junior Member
    Join Date
    Mar 2008
    Answers
    1

    Re: Why Classes are made in C++

    One difference is Structures are passed using call-by-value and clases are passed using call-by-reference.
    Costructors can be declared for structures and it can also be inherited (but default as public), but not sure whether we can perform "operator overloading" with strucutres.


  4.  Sponsored Ads
    Ad


     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact