Astha Sharma wrote:Multiple inheritance in not allowed in java. I now the reason, its because it might be a case that two super classes of a subclass may have methods with same name and thus ambiguity arises when these methods are called.
This can happen with interfaces also, but still it is allowed to a class to implement multiple interfaces!!!
My actual problem is in this code-
ERROR because eat() is defined two times in the class Horse.
now please tell me how to resolve error in this code?
Paul Clapham wrote:
sachin potu wrote:if you collect all the countries and state the js will not be more than 50 KB i guess
I would say you are underestimating. Probably you haven't thought about it at all but just picked a number out of the air which made your argument sound plausible. But on the other hand we don't know whether the actual requirement was all countries and all states anyway, so the point is really irrelevant.
Raju Marreddi wrote:Hi,
I want to write SCJP exam.I have prepared for this, But recently it has changed to 1.6.
Please help me out which verson of the exam i have to write?
either 1.5 or 1.6?
which is useful for my carrier?
any one please do the needful.
Regards
Raju
Eric Pascarello wrote:
sachin potu wrote:yes ajax means, for every change event fired an request will be sent to the server and the response need to processed , and the output is shown.
if your list of country's, state is small you can write a servlet , which generates one js file, and include this js file in the page and get the data
or you can directly put all the Country's and states in one js file, as the Country's or state's very rarely changed
You really want to have to download that huge file? That is a bigger hit in performance than going to the server for small chunks.
Eric