Answer Posted / ershad
BCoz of DIAMOND Problem......if A extends B & B extends
A..in this case b wil override the methods of A class..if c
Extends A ..in this case C wil hav Both the properties of
A,B ....if D extends A which properties should D
inherits ..if it B,C propetries Bcoz B are having the same
methods of A & c is having the same methods of A...there
occurs the Diamond problem..
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the generic class?
What is the differences between heap and stack memory in java? Explain
Why vector is used in java?
What is independent and dependent variables in research?
Do extraneous variables affect validity?
Can we define package statement after import statement in java?
What is the functionality of the stub?
What are synchronized methods ?
What is a string token?
Why scanner is used in java?
What is the difference between Grid and Gridbaglayout?
What is off heap memory?
Difference between == and .equals() ?
FOR EXAMPLE WE R HAVING TWO LIST ELEMENTS ..BOTH LISTS CONTAINS ID,NAME,PLACE ..I NEED TO COMPARE BOTH IDS IN TWO LISTS,IF ID'S R SAME MEANS WE HAVE ADD THE DETAILS(LIKE NAME,PLACE) TO MAP...HOW IS POSSIBLE ?CAN ANY ONE SUGGEST?
Write an algorithm program in java for the following question.. 1) S is a set of integers.X is an integer obtained by sum of two digits in S. Write logic for whether or not the X is from the S. The time of algorithm should not exceed o(n logn).