how can be object class inherited to all class in a program
when java does not support multiple inheritance??
Answer Posted / kumar
Actuly in above it is the case of multilevel inheritance.and obj clas is super class which is extended by other classes tht is tree structure i.e 1 - * form . Multiple inheritance is wher 1 class is having 2 or more base class at same time ie *-1. So it is not multiple it is hiricle inheritnce.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.
How does multithreading take place on a computer with a single cpu in java programming?
What is the difference between jvm and jre? What is an interface?
Name the components that are termed to be Heavy-weight component but available in Light-weight components?
What is data type modifier?
What is java full form?
What are the 6 boolean operators?
When will we prefer to use set and list in java and why?
what state does a thread enter when it terminates its processing? : Java thread
What happens when main () method is declared as private?
What are the uses of synchronized keyword?
Difference between this() and super() in java ?
Which arithmetic operations can result in the throwing of an arithmeticexception?
When throw keyword is used?
Can we create our own daemon thread?