How a class can implement an interface?

Answer Posted / debapriya patra

By using the "implements" clause

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

You can create a string object as string str = “abc”; why cant a button object be created as button bt = “abc”;? Explain

500


Is map ordered in java?

513


Can we overload the methods by making them static?

478


What is byte data type?

528


Can you call a method on a null object?

541






What are heap memory and stack memory and what are memory tables.

485


How do you bind variables?

498


Describe 2 different ways to concatenate two strings.

658


Does java list allow null?

518


Why are getters and setters used?

543


When should I use stringbuffer?

552


What are the states of thread in java?

496


What is string variable?

531


What is arrays sort in java?

552


What is split return?

477