Answer Posted / koteswararao konikineni
interface is nothing but the collection of abstract methods
which are not implemented those are implemented in class
assume interface act as a client and the class act as a
vendor
we can not create object to interface we have to create
abstract variable only
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Can we declare the static variables and methods in an abstract class?
What is method overloading in java ?
What are the special characters?
Is string pool garbage collected?
Is it possible to instantiate the abstract class?
why java uses class level type casting ?
What are different access specifiers in java? Explain
How does the java compiler work?
What are parameters in a method?
Is it possible to define a method in java class but provide it’s implementation in the code of another language like c?
What are the different types of collections in java?
Write a java program to find the route that connects between Red and Green Cells. General Rules for traversal 1. You can traverse from one cell to another vertically, horizontally or diagonally. 2. You cannot traverse through Black cells. 3. There should be only one Red and Green cell and at least one of each should be present. Otherwise the array is invalid. 4. You cannot revisit a cell that you have already traversed. 5. The maze need not be in the same as given in the above example
How do you clear an arraylist in java?
Can we synchronize static methods in java?
What is user defined exception in Java?