why java does not support multiple inheritance
Answer Posted / jitesh singh
java support multiple inheritance though multiple interface inheritance but multiple interface inheritance allows an object to inherit many different method signatures with the warning that the inheriting object must implement those inherited methods.Thus,The inheriting object just doesn't get an implementation free ride.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What are the escape sequences in java?
Define reflection.
How do you allocate memory to object?
Why does java not allow multiple public classes in a java file ?
What is a classloader in java?
What is treemap in java?
What is yield () in java?
How the metacharacters are different from the ordinary characters?
What is var keyword ?
What are heap memory and stack memory and what are memory tables.
how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT
What is the difference between sop and work instruction?
Discuss different types of errors that generally occur while programming.
Can set contain duplicates?
Can we declare main () method as non static?