what is main difference b/w abstract class and interface
Answer Posted / shikha sharma
1) Every method in interface class should be abstract, but
this is not necessary in abstract class.
2)abstract class is a class which must have at least one
abstract method.
interface is a class which having all abstract methods.By
default interface methods are public abstract.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
hi am an engineering student and my next plan is for ms in either in us or australia i got my passport but i dont know anything bout visa can u give brief idea 1)How to get prepared for visa and 2)How to apply for top universities and 3)How to pay the fee and so on These all are basic questions plz give me a clear idea
What is a static method in java?
What is java virtual machine and how it is considered in context of java’s platform independent feature?
What is a superclass?
What are the types of arrays in java?
What is a buffer in java?
What is public/private protected in java?
What is a heavyweight component?
Using callable statement how can you pass out parameters, explain with example?
Is 0 a real number?
23. Storage space in java is of the form Stack Queue Heap List 24. What is java code embedded in a web page known as Applets Servlets scriptlets snippets 25. Which of the following attributes are compulsory with an
State one difference between a template class and class template.
What is an enumeration?
What is default switch case? Give example.
What are user defined exceptions?