Super Keyword in Java
Java programming is the more secure and easy to learn, the main features of java is it is simple and easy to learn also also java is platform independent language. Upto 45,000 devices are running on java technology. Here i will give you idea related to super keyword in java.Super keyword in java is used for refer parent class object. Super keyword is used at three level in java.
- At variable level
- At method level
- At constructor level
Why use Super Keyword in Java
The main uses of java is; whenever you inherit base class properties in this case chance to similarities between base class and derived class properties due to this get ambiguity problem. SO to avoid this problem we use super keyword.
I hope this post is helpful for you. Keep reading our blog, i will give you new idea and tips related to technology.
No comments:
Post a Comment