What is the difference between Class and structure’s
What is the difference between Class and structure’s ?
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, 6395👍, 0💬
Can Java object be locked down for exclusive use by a given thread? Yes. You can lock an object by p...
What is continuous and staged representation? CMMI contains 25 key process areas which organization ...
How To Delete All Rows a Table? - MySQL FAQs - Understanding SQL INSERT, UPDATE and DELETE Statement...
How To Use "IN OUT" Parameter Properly? - Oracle DBA FAQ - Creating Your Own PL/SQL Procedures and F...
How do you open an SSH connection to a remote box? ????