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
What is synchronization and why is it important?
What is a session? Can you share a session object between different theads?
How would you detect a keypress in a jcombobox?
Do you think that java should have had pointers?
What is the difference between the string and stringbuffer classes?
Are we allowed to change the transaction isolation property in middle of a transaction?
What is the relationship between local interfaces and container-managed relationships?
What is the difference between the session.get() method and the session.load() method?
What is aop(assepct oriented programing)?
Is a class a subclass of itself?
how to make a index.jsp for running the site in internet and find an error for connection with weblogic server and java that give an error invalid object name.and how to maintain session.
When is the best time to validate input?
Define prototype?
What are the call back methods in entity bean?
To what value is a variable of the string type automatically initialized?