How can we get one Interface methods whit out using
implementation of interface

Answer Posted / hanuma

Use the composition

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is a method a procedure?

559


Give some features of interface?

586


What is the return type of the main method?

577


What do the thread?class methods run() and start() do?

545


Can constructor be inherited?

579






Assume a thread has lock on it, calling sleep() method on that thread will release the lock?

627


Can we declare main () method as non static?

524


How many bits is a string?

526


What is a method signature java?

577


What is the benefit of inner classes in java?

617


What are the different ways of creating thread?

574


How big is a gigabyte?

621


What is the purpose of a transient variable?

588


What is keyword and identifier?

642


Do you need to import math in java?

565