Saturday, 5 September 2015

Diference between structure and class.

Difference between structure and c lass.

structure1.variable of structure define as value type variable.

2.In case of structure compiler support static binding.

class

1.variable of class define as reference type variable.

In case of class compiler support dynamic binding.


Note=>in oops every class contain its own object or reference
or pointer in same class with name This.

This behave like owner of class.

No comments:

Post a Comment