Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What is the difference between class and structure?
What is the difference between class and structure?
✍: Guest
Structure: Initially (in C) a structure was used to bundle different type of data types together to
perform a particular functionality. But C++ extended the structure to contain functions also. The
major difference is that all declarations inside a structure are by default public.
Class: Class is a successor of Structure. By default all the members inside the class are private.
2012-02-06, 2794👍, 0💬
Popular Posts:
What will be printed as the result of the operation below: main() { char *ptr = " Cisco Systems"; *p...
What does a well-written Object Oriented program look like? A well-written object oriented program e...
How do I force the Dispose method to be called automatically, as clients can forget to call Dispose ...
How can method defined in multiple base classes with same name be invoked from derived class simulta...
What Is a LABEL Tag/Element? - XHTML 1.0 Tutorials - Understanding Forms and Input Fields A "label" ...