what is difference between interface and abstract class..?
Answer Posted / vinod kumar
Abstract: The members of abstract class is implemented
immediately in next class and the methods of abstract class
is blank.. as follows
abstract clas A
{
static void example();
static void ex1();
}
Interface: interface class can be implemented in other
program also....
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
What is the difference between integer parseint and integer valueof?
Which sorting is best in java?
Is singleton class immutable?
How do you escape json?
Can we create constructor in abstract class ?
Can we use static class instead of singleton?
how to create daemon thread in java?
What is an error in java?
Can you declare a private method as static?
What is identifier in java?
What is complexity and its types?
What is a cup of java?
why Java does not support multiple inheritances?
When the constructor of a class is invoked?
What are access specifiers in java ?