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 do you mean by checked exceptions?
what is the replacement for GOTO in java?
What are the high-level thread states in java programming?
write a class to input 2 points by the user & check the line maked by the points is horizontal,vertical or rectangle?
How is Object Oriented Programming different from Procedure Oriented Programming?
What is Mutex (Mutual Exclusion Object) ?
Is sizeof a preprocessor?
What is java Applet?
What is multithreading ???? How to stop multithrading in java????
What is stop(), suspend(), resume() method?
I want to print “hello” even before main is executed. How will you acheive that?
Can we sort array in java?