05-02-2011, 06:26 AM
Respected sir , what is difference between object data type and Permitive data type?
|
what is difference between object data type and Permitive data type in c++ 2011
|
|
05-02-2011, 06:26 AM
Respected sir , what is difference between object data type and Permitive data type?
05-02-2011, 06:26 AM
Object variables are stored as 32-bit (4-byte) addresses that refer to objects. You can assign any reference type (string, array, class, or interface) to a variable declared as an Object.
An Object variable can also refer to data of any value type (numeric, Boolean, Char, Date, object, the invocation of a method of an instance using an Object variable is always structure, or enumeration). Although a variable declared with Object type is flexible enough to contain a reference to any late (run-time) binding. To force early (compile-time) binding, assign the object reference to a variable declared with a specific class name or cast to the specific data type. 0300-9520262 Get solution in 24 hour |cpmputer & internet mileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
|
|
« Next Oldest | Next Newest »
|