Define interface?
Answers were Sorted based on User's Feedback
Answer / ravikiran(aptech mumbai)
interface is the one which contains all the methods as
abstract.If we wish to do a complete new functionality
implementation in the future we have to make use of interface
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / dev yadav
interface is a collection of abstract methods ...we also implement multiple inheritence in java with the help of interface....
Is This Answer Correct ? | 2 Yes | 0 No |
What is the full form of jpeg?
What is a default method?
What is a key in java?
Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.
How are destructors defined in java?
methods in Applet?
How many bits does a boolean take?
Why is a constant variable important?
What is static variable and static method?
32 Answers Accenture, Prolific, Prolifics, TCS, TNH,
What is compiler and what its output.
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?
What is the purpose of the system class in java programming?