Link Details

Link 89804 thumbnail
User 290279 avatar

By jamesling
via digcode.com
Published: Jun 24 2008 / 15:00

Like class, structs represent data structures that can contain data members and method members. Unlike classes, structs are value types and do not require heap allocation. A variable of a struct type directly contains the data of the struct, whereas a variable of a class type contains a reference to the data.
  • 9
  • 0
  • 1013
  • 181

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (9)



Voters Against This Link (0)