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 parse method in java?
whays is mean by inner class?
Why java is called not pure object oriented language?
Can java run on google chrome?
What is the inheritance?
why there are multiple catches for a try block.don't tell me that there can be multiple exception of a code segment that's why.tell me the real fact behind this.
What’s the difference between unit, integration and functional testing?
I declared main() method as private. But it still running and displaying the output. Please Answer it . Code Snippet as Below: import java.io.*; class over { private static void main(String[] args) { int high = Integer.MAX_VALUE; int overflow = high + 1; int low = Integer.MIN_VALUE; int underflow = low - 1; System.out.println(high + "\n" +overflow +"\n"+ low +"\n"+underflow); //System.out.println(overflow); //System.out.println(low); //System.out.println(underflow); } }
Explain the relationship between the Canvas and Graphics class?
Why is string builder not thread safe?
Does treeset use compareto?
What is the base class for error and exception?