Can a class extend abstract class or interface? why
Answer Posted / mahesh
A class can extend an Abstract class but it can't extend an
interface.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain about main() method in java ?
When will you define a method as static in Java?
What are the topics in advance java?
What is array length?
What is return data type?
What is meant by tab pans?
take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).
why Interface used?
whatis Home interface and Remoteinterface? with example?
Difference between association, composition and aggregation?
what are three ways in which a thread can enter the waiting state? : Java thread
What is an object in java?
What are inner classes or non static nested classes in java?
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 are autoboxing and unboxing? When does it occur?