What modifiers are used for interface declaration?

Answer Posted / srinivas

public modifier is used for interface declaration

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you check if an arraylist is not empty?

581


What is the difference between an interface and an abstract class?

546


Can you run java program without main method?

551


Is 9 a prime number?

472


What are the differences between graph and tree?

653






What is the difference between an if statement and a switch statement?

660


What is anagram word?

525


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.

2063


What is arrays aslist in java?

527


How much ram can a 64 bit processor theoretically?

472


How do you define a set in java?

520


How to do encapsulation in java?

578


What is data type in computer?

526


Can we have try without catch block?

651


Can we create an object if a class doesn't have any constructor ( not even the default provided by constructor ) ?

565