difference between Abstract and Interface?

Answer Posted / kumar rk

interface
---------
in java interfaces are fully unimplemented structures.
here all methods are public and abstract by default(added by compiler)

abstract class
--------------
abstract classes are partially implemented structure.
means it can have abstract method or may be not.
but in every case object cannot be created.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How task's priority is used in scheduling?

1774


For which statements does it make sense to use a label?

580


What is a session? Can you share a session object between different theads?

547


To what value is a variable of the string type automatically initialized?

600


What is the relationship between local interfaces and container-managed relationships?

583






Write a singleton program?

562


Java is fully object oriented languages or not?

530


Name three component subclasses that support painting?

609


Why does the option tag render selected=selected instead of just selected?

667


What is colon_pkg_prefixes and what is its use?

1992


What is the difference between system.out ,system.err and system.in?

592


How to determine SGA site?

1900


we use MainFrame and using os390 for operating system with DB2 data base in IRAN and interest programing with java and use webspere for world wide,please help me where i should start?

1918


Is “abc” a primitive value?

610


Explain RMI Architecture?

598