When should I use abstract classes and when should I use
interfaces?
Answer Posted / ankit
if u r required more than 1 class in ur prog then use
interface because u cant extends 2 class in ur prog ...to
use 2 class in ur prog u can implement 1 interface and
extends 1 class
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Why do we use variables?
What do you know about java?
What does yield method of the thread class do?
How do you add an element to a set in java?
Difference between comparator and comparable in java?
What is thread start?
Write java program to reverse string without using api?
If try block is successfully executed, Then Is Finally block executed?
What is a boolean expression in java?
What is string pooling concept?
What is protected access modifier?
How do you control extraneous variables?
Convert Binary tree to linked list.
Hi friends am new to java. I read jar file means collection of java files. For executing struts application what are the necessary jar files. " struts.jar " file contains what. can u explain
Is null a string?