Difference between abstract class and Interfaces in Java
Answer Posted / narasimha raju
An abstract classes can have concrete methods and declares
abstract method which method can implement in different
ways. whereas in interface all are abstract methods.
in abstract class we can declare any type of variable
but in interface all are final variables.
Is This Answer Correct ? | 8 Yes | 5 No |
Post New Answer View All Answers
What are two of your strengths that you will bring to our QA/testing team?
In an customer exit (include Z) program, only the last record is getting fetched. The exit is getting called after pressing save button. What to write for fetching the first record ? Before saved to a SAP table how can i call all these records in an itab in the exit ?
How to connect to ms word wit VB ojective is to prepare s/w to generate question paper , selects questions randomly from the ms access , database
can we allocate memory for interface? if no then why?
Which design patterns have you used?
What is SOLID Principle in Programming Language?
why not instantiating servet using new operator?
how do you generate source code for the automatic generation for receipt number
Explain polymorphism. Provide an example.
write a query that returns one row for each department and the number of employees in that department. Given two tables EMPLOYEE and DEPARTMENT, where there can be multiple employees per department.
How to call dll API sub routine in VB Form.
WS-NUM PIC S9(05)V(02) SIGN TRAILING SEPARATE MOVE '0050000+' TO WS-NUM The value stored is 00500,00+ MOVE '0050000-' TO WS-NUM Then what is the value will be stored in WS-NUM? Am getting '-00500,00'.....>>> What should I declare to WS-NUM so that I can get correct values for both + & - signs.
What sysoption determines where the macro facility searches a specific catalog for complied macro?
It is possible to take number of controls added to form at run-time.ex-when user enter 6, 6 text boxes get added to form,next time number of controls get change as per user number enter. What is code for that?
Find out the roles which gives access to all tables in SAP? Thanks in advance.