What are interfaces?

Answer Posted / sri

Interface is a mechanism in Java which is used to create prototype of the classes.

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 callable java?

639


Can inner class be public in java?

643


What is the size of boolean variable?

675


What is array length?

582


Differences between external iteration and internal iteration?

692






2) Suppose there are 5 directories having lot of files (say txt files) in each directory. 2 things :- 2.1) You want to search for filenames which have a particular pattern. 2.2) Out of these filtered files you want to search for a particular keyword or a search string. How can you achieve this?

1922


How do you use nextline in java?

598


What's the base class of all exception classes?

649


What is sleep method?

704


What is java util function?

597


What is the use of keywords in java?

647


What are multiple inheritances?

685


What is thread start?

613


Can java hashmap have duplicate keys?

599


What is a class in java?

687