When we give defination of interface method in the class why
method must be public???

Answer Posted / prakash

all methods in interfaces are public by default...

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how we can use debug in myeclipse 6.0 in order solve the problems that exist in our program when there are 900 to 1000 pages in a web application

1667


What is lambda expression in java?

543


What is a pattern what is an anti pattern?

510


Write a program to search a number in the given list of numbers.

631


When should you make a function static?

544






Is main an identifier?

546


How use .contains in java?

624


What is the exact difference in between unicast and multicast object? Where we will use?

558


Is string pool garbage collected?

550


Is null an object in java?

565


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

512


What is the abstraction?

594


What are benefits of java?

558


What is a 16 bit word?

567


What is boolean data type in java?

568