Hello world!!
Tuesday, November 16, 2010
Difference between new Operator and Modifier
• new operator Used to create objects on the heap and invoke constructors.
• new modifier Used to hide an inherited member from a base class member.
Example for
new modifier:
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment