watz the difference between abstract class and interface?
Which one u ill choose as a designer?
Answer / ajay roy
Abstract Class is the one which contains atleast one
abstract method and other method may not be essentially
abstract. However, interface always have only method
signature in it. We can not have methods with
implementation in interface unlice abstract class.
When designer wants to use common property of a system then
he should go with abstract method. Because in abstract
method he can have implementation of common properties
along with signature of other method which can be
implemented as per need.
| Is This Answer Correct ? | 5 Yes | 1 No |
What is java regex?
How many bytes is a string java?
program to find 25 square = 625 here the 625 of last two digits is equal to 25, i don't know excatly what this type of number is called
How will you measure that int takes up only 32 bits in memory?
If all the methods in abstract class are declared as abstract then what is difference between abstract class and in interface?
What is singleton service?
what is business objects?
Why is string builder not thread safe?
explain copyonwritearraylist and when do we use copyonwritearraylist?
What is Exception handling in Java How do you handle run time errors please explain with an example
How many bits is a double?
What is the purpose of file class?