when to for abstract class and when to go for interface
Answers were Sorted based on User's Feedback
Answer / sumit kumar
if your class design have some common and some different
behavior then go for - abstract class
if your class design have only different behavior then go
for interface.
| Is This Answer Correct ? | 12 Yes | 2 No |
what are the oops concept in java explain with real time examples
24 Answers Accenture, Bosch, Consummate Technologies, CTS, Current Technologies, iNautix, Infosys, Kekran Mekran, QA InfoTech, RTRT, SofTech, Tech Mahindra, Thorogood, Timios, Wipro,
What is the benefit of using enum to declare a constant?
If an object is garbage collected, can it become reachable again?
What is a static class in java?
What is the difference between numeric and integer?
What is java objectoutputstream?
What are java packages? What is the significance of packages?
What are the characteristics of Final,Finally and Finalize keywords.
Can we define a package statement after the import statement in java?
Why we use set in java?
What is overloading and overriding in java?
If an object reference is set to null, will the garbage collector immediately free the memory held by that object?