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 |
How to print a name "ARCHANA" in any programming language
How Many versions are there in crystal reports
What function would you use to extract characters from a given string?
Need guidewire related Documents(Interview Question/Tips/Best Practice/Dumps)
Java is called as pure objerct oriented programming language, where as c++ is not completely object oriented.can any explain the detailed differenec between these two
what is fisrt female program
I need to fetch all rows from the table based one field value in the table and later do a condition check if the condition is true I will have to move all the rows present in the data base to output file one else if the condition is not satisfied then move all the records of that field value into another file .Please let me know how to do that
Find out the roles which gives access to all tables in SAP? Thanks in advance.
write the a cl program with the following specification A. Accept 2 parameters-date and date type B. if date type is J then convert date to *MDY format C. if date type is M convert date to *JUL format 4.send a program message with the value of converted date Please explain for each with coding?
why not instantiating servet using new operator?
What is a must for multitasking? a) Process preemption b) Paging c) Virtual memory d) None of the above
Hi friends :) This Company Aptitude Questions were much easy. i have attended the interview but was not selected in the HR round. they used to ask questions like puzzles, English, fill up the sentence. for example : they asked one question like suraj, kumar, santhosh, ranga and ashwin are professionals in different fields. suraj is a doctor. kumar is not a musician.ranga is working as engineer. ashwin is from goa. santhosh is from chennai. suraj and ranga are not from delhi. find out who is working in which field and where are they from? it was not the exact question. i answered that question with correct answer. just thorough with SQL queries. they are much interested in that. i cleared Technical round where they asked me to write a C code for checking, if the given word is palindrome or not. also they asked 2 puzzle question to solve in front of them. then the asked SQL query for referring two tables. then, they sent me for HR round. i got little nervous in that round. so, could not answer them properly. In Hr round, they may ask Technical Questions. i was asked only Technical Questions in HR round. they asked questions from SQL queries and my project. i could not answer for the questions perfectly. so, i was not selected. anyway, try to be thorough with these info and rock in your interview. Thanks :)