how can be object class inherited to all class in a program
when java does not support multiple inheritance??

Answer Posted / prasad

by using interface

Is This Answer Correct ?    16 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is a class subclass of itself?

604


What is thread life cycle?

544


What is finalize()? Is finalize() similar to a destructor?

546


Define how destructors are defined in java?

588


What are functions in java?

499






What is the difference between the prefix and postfix forms of the ++ operator?

554


What is the difference between keyword and identifier?

534


Difference between java and javascript

586


What happens to a static var that is defined within a method of a class?

549


What is double parsedouble in java?

546


whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net

1661


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.

2282


What is the use of pattern in java?

511


Can a boolean be null java?

545


Explain how hashmap works?

592