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

Answer Posted / aditya mohata

we have to declare that class as an abstract class.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is 32 bit float?

561


Is nan false?

533


How does hashmap work in java ?

541


What does %d do in java?

578


Is java a utf 8 string?

530






What is ternary operator in java?

595


What does the append?

494


What is nested loop? What is dangling else condition in it?

574


What is %02d?

575


What about instanceof operator in java?

599


What is the difference between choice and list?

592


String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?

556


What are the two categories of data types in the java programming language?

507


Is it possible to override the main method?

533


What’s a deadlock?

609