What is the difference between abstract class and interface?
Answer Posted / venu
A programer uses an abstract class when there are some
common features of the program shared by all the objects.
A programer uses an interface when all the features of the
program are implements differently for different objects.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
When do we use hashset over treeset?
What is the function of http?
what is mutual exclusion? : Java thread
How are this() and super() used with constructors in java programming?
Why static functions are used?
Which number is denoted by leading 0x or 0x in java?
In how many ways we can do synchronization in java?
How to create an immutable class?
What are internal and external variables?
What are the different approaches to implement a function to generate a random number?
What are the different types of inheritance in java?
Describe 2 different ways to concatenate two strings.
What is a boolean output?
when a request is generated from apache tomcat 5.5 and goes to oracle 10g or mysql,,, how the oracle or mysql reads the request as apache is a web server and oracle 10g is application server? when the oracle 10g provides response, how the apche tomcat reads it???
What is exception propagation?