Hi buddy, well i got that there is always a default
constructor with abstract class. OK. But why not with interface?
Thanks in advance.
Answer Posted / madhu
yes it is bcz interfaces are not part of the inheritance tree.
after all u can define a contract between 2 different parties
using interfaces nothing more u can expect. its not actually
an executable construct
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is natural ordering in java?
Can I learn java in 3 months?
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?
Is arraylist ordered in java?
What are the advantages of functions?
What are the wrapped, classes?
Is java 1.7 the same as java 7?
Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?
Which java collection does not allow null?
What is array in java?
Tell some latest versions in JAVA related areas?
What modifiers are allowed for methods in an interface?
What about static nested classes in java?
What are three advantages of using functions?
What is meant by final class?