what is the difference between abstract class and
Interface?where we can use it in realtime projects?
Answer Posted / nanda
diff b/w abstract class and interface
1.Abstract class contain both normal fn as well as Abstract
fn wheras Interface can define only abstract fn.
2.by default declared variable in interface is static and
final.
in realtime projects we use inerfaces in AWT OR SWING,where
we implement the inerfaces and use them
Is This Answer Correct ? | 30 Yes | 12 No |
Post New Answer View All Answers
How to Sort Strings which are given in List and display in ascending order without using java api.
What is the driver class?
Which access specifier can be used with class ?
What is an 8 bit word?
If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?
What is static keyword in java?
Is arraylist sorted in java?
Can we write method inside a method in java?
What is the advantage of preparedstatement over statement?
What carriage return means?
What is file in java?
How do I run java on windows?
Is arraylist zero based?
What is meant by object?
How a variable is stored in memory?