What we have to do, when we don't want to implement all
methods of an interface?

Answer Posted / somasundar m

We have to declare that class an abstract class by
declaring that particular unimplemented methods as abstract
method. And you can not create an instance for this class.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is generics in java interview questions?

539


What are the advantages of passing this into a method instead of the current class object itself?

1169


Java openings 3 - 5 years, Lnt Infotech. requirements - core java, J2ee, struts, hibernate Interview Date:- 19 March 2011 Time:- 9:00 AM to 12:00 Pm Interview Location - L & T Infotech, Manapakkam, Chennai Refererral PS NO:- 291649 (Please mention this when u fill the form only then u will be considered for interview) Documents Required:- Latest Resume, Photograph and last 3 payslips Mail me on vasan2211@gmail.com once u appear for interview

2852


How can I right-justify a string?

625


Why a dead thread occurs?

572






how to convert Java project into Maven ?

583


What is the role of the java.rmi.naming class?

522


23. Storage space in java is of the form Stack Queue Heap List 24. What is java code embedded in a web page known as Applets Servlets scriptlets snippets 25. Which of the following attributes are compulsory with an tag?. code,height & width. 26. What does 'CODEBASE' in an applet tag specify?. Files absolute path.

2054


What is a stringbuilder?

509


Why does java doesnt suuport unsigned values?

1794


What is class variable java?

583


What data type is true or false?

571


What are inbuilt functions in java?

557


Why is java so popular?

635


What does n mean in java?

502