Boxing:
Converting a value type data to reference type is called boxing; UnBoxing: It is the reverse of Boxing i.e converting a reference type value to value type;
Ex: int x=1;
Object ob=x;//boxing
int x=(int)x;//UnBoxing
No comments:
Post a Comment
Note: only a member of this blog may post a comment.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.