In real time project when will we use Abstract class. and
what are the difference between abstract and interface.

Answer Posted / satish

In real time when u extend Abstract class no need t provide
implementation f all methods & it contains one abstract
method remaining al r concrete methods
whereas interface we have t provide implementation f all
methods & by default al r abstract methods

Is This Answer Correct ?    10 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which characters may be used as the second character of an identifier, but not as the first character of an identifier?

769


If your ui seems to freeze periodically, what might be a likely reason?

769


Why are component architectures useful?

784


Name the eight primitive java types.

812


What is the difference between long.class and long.type?

767


What are the oops concept?

770


Define aop(assepct oriented programing)?

892


What is synchronization and why is it important?

746


What are the different types of exception?

782


Can you control when passivation occurs?

803


Explain phantom read?

1955


Is the session factory thread safe?

905


What are the steps to write p-to-p model application?

2160


What does module-relative mean?

786


Why do threads block on i/o?

909