all are saying java doesn't support multiple inheritance but
by default Object class is super class for all the user
defined classes and we can extend atmost one class so each
class can extend more than one class so java supports
multiple inheritance?i am confused with this,pls any one
explain me.
Answer Posted / shrikanth
dude java does support multiple inheritence,although we dont
implement directly we will do it using interfaces. Good
observation from you.
| Is This Answer Correct ? | 9 Yes | 5 No |
Post New Answer View All Answers
What are the five major types of reference sources?
Explain the difference between an Interface and an Abstract class?
Explain where variables are created in memory?
2) Suppose there are 5 directories having lot of files (say txt files) in each directory. 2 things :- 2.1) You want to search for filenames which have a particular pattern. 2.2) Out of these filtered files you want to search for a particular keyword or a search string. How can you achieve this?
What technique can be employed to compare two strings?
What is an anonymous class in java?
Does isempty check for null?
Do we need to manually write Copy Constructor?
What function extracts specified characters from a string?
What sorting algorithm does javascript use?
Why java strings are immutable in nature?
Why java is object oriented?
What is a substring of a string?
Explain about fail fast iterators in java?
What happens when main () method is declared as private?