Categories:
.NET (357)
C (330)
C++ (184)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (2)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Struts (1)
Windows (1)
XHTML (173)
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, 7724👍, 0💬
Popular Posts:
What will be printed as the result of the operation below: main() { char *ptr = " Cisco Systems"; *p...
interview.FYIcenter.com offers a collections of interview questions and answers for software and Web...
How To Concatenate Two Character Strings? - MySQL FAQs - Introduction to SQL Basics If you want conc...
How many bits are used to represent Unicode, ASCII, UTF-16, and UTF-8 characters? Unicode requires 1...
What is Traceability Matrix? Traceability Matrix is one of the document will prepare by QA.To make s...