Categories:
.NET (961)
C (387)
C++ (185)
CSS (84)
DBA (8)
General (31)
HTML (48)
Java (641)
JavaScript (220)
JSP (109)
JUnit (31)
MySQL (297)
Networking (10)
Oracle (562)
Perl (48)
Perl (9)
PHP (259)
PL/SQL (140)
RSS (51)
Software QA (28)
SQL Server (5)
Struts (20)
Unix (2)
Windows (3)
XHTML (199)
XML (59)
Other Resources:
What is the difference between Class and structure’s
What is the difference between Class and structure’s ?
✍: Guest
Following are the key differences between them :-
? Structure are value types and classes are reference types. So structures use
stack and classes use heap.
? Structures members can not be declared as protected, but class members can
be. You can not do inheritance in structures.
? Structures do not require constructors while classes require.
? Objects created from classes are terminated using Garbage collector. Structures
are not destroyed using GC.
2007-10-23, 6541👍, 0💬
Popular Posts:
Should synchronization primitives be used on overrided bean methods? No. The EJB specification speci...
What are the standard ways of parsing XML document? XML parser sits in between the XML document and ...
How To Use mysqlbinlog to View Binary Logs? - MySQL FAQs - Server Daemon mysqld Administration If yo...
Where are cookies actually stored on the hard disk? This depends on the user's browser and OS. In th...
How To Give a User Read-Only Access to a Database? - MySQL FAQs - Managing User Accounts and Access ...