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 |
explain the difference between jdk and jvm?
How do you sort in ascending order in java?
What is the access scope of a protected method?
What happens if we don’t define serial version uid?
What is the program development process?
What is method reference?
how can i connect to database in a applet ?
What is the simpletimezone class in java programming?
What is length in java?
What is a native method?
Difference between overloading and Overriding. <Giving a confusing example to test the concept.> (also asked in PA Consultancy Group,iflex,Value chain,IBM,CTS,Accenture, Tarang>
12 Answers Accenture, CTS, Extensio, IBM, iFlex, PA Consulting, Symphony, Tarang,
Is it safe for adding 10,00,000 records/objects to HashMap?, i.e is it safe to add millions of objects to HashMap?