Home Search Jobs Govt JobsNew Resume Makernew Career Guidance Ask n Answer Student Ambassadors


  Ask n Answer
  Ask a Question
0 out of 300 characters

what is inheritance
By sumit janmeda (Beginner)  6 years ago   13 views
 Your Answer
0 out of 1250 character
Share |
Report Abuse
it is similar to class. In interface all the methods are abstract by default.we can't create object for interface.we can't use normal method in interface.we can only declare methods in interface.we must define those methods in sub class.we use extends keyword between interface to interface.we use implements keyword between interface to class.we can achieve multiple inheritance through interface
Know a better answer? Click here to post.

Ask & Answer
Panel of Experts

All rights reserved © 2022 Info Edge (India) Ltd.