When we give defination of interface method in the class why
method must be public???
Answer Posted / pradeep singh
because class which implements the interfaces if the
access modifiers are protected or private then we can not
override this metods. somethos must be publicand java there
is notmultiple inheritance
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What is data type example?
What is the super void?
What is function declaration?
What is the basic of java?
How do you classify Dialog Box?
What is method overloading in JAVA? Why is it not present in C ?
What best practices should you follow while writing multithreaded code in java?
Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx
Compare Mutex and Semaphore in java.
Can a list be null in java?
Explain the overview of UDP messaging.
What is meant by method?
What is hashtable and explain features of hashtable?
What is map in java?
Can you instantiate the math class in Java?