|
-
March 23rd, 2009, 03:58 AM
#11
Re: classes question
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.
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
|