Why multiple inheritance is removed in java?
Answers were Sorted based on User's Feedback
Answer / jasmeet singh
coz multiple inheritence can lead to ambiguity in the child
class...
say , for example if two different class use same name for
any variable or constant and those classes are inherited by
any child class, then those variables or constants with same
name will create ambiguity in the child class
Is This Answer Correct ? | 12 Yes | 1 No |
Answer / vijayan.s
It's not completely removed. only one class can be extended
if more than one class should be inherited by using
implement.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / vijay.r
becoz we cant able to inherit more than one base class java.
Is This Answer Correct ? | 1 Yes | 7 No |
what is the purpose of postback?
Write a pseudo code to evaluate a number to any base given (2...16) based on the input. Number greater than 9 should be given as A-F for 10-15.
A, B and C are 8 bit nos. They are as follows: A 1 1 0 1 1 0 1 1 B 0 1 1 1 1 0 1 0 C 0 1 1 0 1 1 0 1 Find ( (A-B) u C )=? how to solve this need with steps
there are N number of matchboxes numbered 1...N.each matchbox contain various number of stick.Two player can alternatevely pick some amount of stick from the higest stick containing box . The player is condidered win if there is no stick after his move.Find the final move so that the move player win. Note:In case the number of stick is equal ,pick the stick from the higest numbered box. eg: 3 box contain stick as:1,1,1. if u take 1 stick from 3rd numbred box you will any how win the match.
how to avoid java script validation in client side validation?
In staad pro, how can we design ROOF SLAB?
how to data grid use in data bind?
we can use parameters in cl and rpg pgms...etc.in particular i think when we use data area or datastructure or data queue .i think this means which one====in my question...parameters cannot be passed in which one????hope understand my qstn???
There are 2 tables: EMP : EmpId, Ename, Sal, DeptId DEPT : DeptId, Dname Write a query to find out emp names and their department names. if any emp has null in Deptid the it shows ?No Department?. Write a query to find out those department names which has no employee. Write a query to find out those employees whose salary is greater than their department?s average salary.
What is meaning of web application. & the purpose of web application. with description.
Given a arbitrary pointer to an element in a singly linked list?what is the time complexity for its deletion .
what will we require to build project with the help of oracle