did interface can implementation method ? i know its not
possible but my interviewer said its possible ..but how..?
any one have idea ???
Answer Posted / keerthi
method implementation is impossible in interface , method
declaration only possible in interface.
In abstract class method declaration or implementation
possile.
If we implement methods in iterface what is purpose of
abstract concepts.
The interviewer asked for checking whether your confident
or not
Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What is the difference between yield() and sleep()?
What is stack explain?
Write a method that will remove given character from the string?
What do you mean by boolean?
Why is java multithreaded?
What is substring 1 in java?
Is null keyword in java?
what is synchronization? : Java thread
How we can run a jar file through command prompt in java?
Which method returns the length of a string?
Tell me are there implementations for sorting and searching in the java libarary?
What are different types of references?
What are the advantages of user defined functions?
How can we pass argument to a function by reference instead of pass by value?
What is a boolean expression in java?