In real time project when will we use Abstract class. and
what are the difference between abstract and interface.
Answer Posted / meena
in real time project we can use the abstract class so that
the subclasses can be extended so the functionality of the
project becomes easy as per the needs of the things required
in the project
in case of interfaces we can make use of the abstract
methods which means that we can make use of the other class
as interface (which means we can make use of the interface
class by adding the word implements) so that the methods of
the implemented class can be used in our project.
which in turn makes the work more easier.
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What you mean by COM and DCOM?
Is a class a subclass of itself?
Which container method is used to cause a container to be laid out and redisplayed?
What is colon_pkg_prefixes and what is its use?
What class is the top of the awt event hierarchy?
What is a tasks priority and how is it used in scheduling?
What value does readline() return when it has reached the end of a file?
How are the elements of a borderlayout organized?
What is meant by method chaining?
what are the activation groupworks?
What modifiers may be used with an inner class that is a member of an outer class?
which type of objects reference will be given to client?
In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?
Why a component architecture for the java platform?
What is the purpose of the notify() method?