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
differences between qtp10.0 and 11.0 ?
what are the missinschema properties and should we pass primary key in select command
Given a set. Write the pseudo code to get all the subsets for the given set. Eg. Input : {1,2} Output : (),(1),(2),(1,2)
I'm new to ABAP. What is Module pool in SAP?
Given an array of size n. It contains numbers in the range 1 to n. Each number is present at least once except for 2 numbers. Find the missing numbers.
What is the entry point function of a DLL?
How to connect the .accdb database file of microsoft access to the Visual Basic 6.0 forms?
5. How do you round the addition or subtraction of two numbers in assembler?
What ports must be open for DCOM over a firewall? What is the purpose of Port 135?
I want sample papers for NIC Examination. Plz send them to my mail Id das.neelam@gmail.com . Plz send it today, tomorrow i've the exam.
In loading programs into memory, what is the difference between load-time dynamic linking and run-time dynamic linking?
how to stop execution of step 3 in a job mainframe
which worker is involved in all the phases of SDLC?
what is web service in java? have u use before.
What are the Short cut Keys of Tally ERP?