|
-
March 23rd, 2009, 07:51 AM
#14
Re: classes question
 Originally Posted by Abhishek Chauhan
1. In classes the default scope is private whereas in structures u have public.equir
2.Also u can define the scope according to is requiremeuctunts in claasses.
3. In classes u can create fn nd methods which is not so in d case of structures.
4.You cn also do operator overloading in case of classes which is not so in d case of structures.
5.Various other object - oriented features are found in classes and not in structures wherin u can create objects which is not possible in structures.
Spell check. Use it. It's hard to figure out what you're trying to say.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|