what is the difference between abstract class and
Interface?where we can use it in realtime projects?
Answer Posted / hanu
Both are same in many ways ..Except
if we extend that particular abstract class, we should be
implemented all those abstract methods in that class.
In the case of interface, we can implement any numbber of
methods to that interface ..
| Is This Answer Correct ? | 13 Yes | 39 No |
Post New Answer View All Answers
What is "this" keyword in java? Explain
What modifiers may be used with an inner class that is a member of an outer class in java programming?
Why is String immutable?
How do you read and print a string in java?
What is the use of arrays tostring () in java?
How many static init can you have?
Explain the features of java?
Can we force garbage collector to run ?
Difference between error and exception
Is it possible to instantiate the abstract class?
What’s the difference between applets and standalone program?
Can a set contain duplicates?
How does a for loop work 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
What is rmi and steps involved in developing an rmi object?