Difference between interface and abstract class?
Answer Posted / m.shanmuga sundaram rjnsoftwar
There are some subtle differences between an abstract class
and an interface
1)
A class can inherit multiple interfaces
A class can inherit only one abstract class
2)
An interface does not contain any access specifier,fields
and code. By default the access specifier is public.
An abstract class can contain any access specifier,fields
and code.
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
the systematic access of small computers in a distributed data processing system is referred as?
What is the difference between COM and CORBA?
What is test execution and when will we start execution please send me one example for this question
Write a program to create a process in UNIX
What is the difference between WebIntelligence and Designer in creating universes?
Find out the list of roles which gives access to GUI activities? thanks in advance
5. How do you round the addition or subtraction of two numbers in assembler?
what will we require to build project with the help of oracle
what is apt_dump_score in datastage where it is useful
how many types of bytes are there???
how do you generate source code for the automatic generation for receipt number
could you please tell me how to draw the calibration curve for HPLC {the software which we are using}?
Busy waiting is a method whereas a taskwaits for a given event by continiously checking for an event to occur. What is the main problem with this approach
Can we write a method in JSP.If so how?
A good website has the following conditions It should be interactive. It should contain at least 20 images. Title cannot be null and should contain at least 10 letters other than spaces and hyphen (-). The keywords should contain atleast three among the following list : "design", "Graphics", "lovely", "beautiful", "amazing" and "mesmerising" Write a method: boolean isGoodWebsite(boolean isInteractive, int numOfImages, String title,String keywords[]) isInteractive whether the site is interactive or not numOfImages Number of images on the website title Title of the website keywords Array of keywords in the website.