What is the Advantage of Interface over the Inheritance in
OOPS?
Answer Posted / rajendra patidar
On OOPS due to multiple inheritance duplicate value may be
received by derived class, so compiler do not understand
what syntax should compile.
Interface Refuse such type of problem in java.
Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
What is the difference between procedural programming and oops?
What is abstraction in oop with example?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
Why is polymorphism important in oop?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
Is html an oop?
Why do while loop is used?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
How do you explain polymorphism?
What is oops and why we use oops?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
What are the features of oop?
What is the purpose of enum?
What is polymorphism used for?
What is the point of oop?