what is the difference between abstract class and interfaces java job interview question

3,738 views · Published 9 November 2012 · 2:17 · Indexed 31 October 2026

Channel: Interview DOT · 2012 · Science & Technology

Watch on YouTube

Click here - https://www.youtube.com/channel/UCd0U_xlQxdZynq09knDszXA?sub_confirmation=1 to get notifications. You can submit your resume for right Job

http://www.interviewdot.com/upload-resume/uploadresume.htm

http://www.interviewdot.com http://www.interviewdot.com http://www.interviewdot.com

Welcome to www.InterviewDot.com

Java Interview Questions and Answers : Job portal -- Java Tutorial / Interview 

What's the difference between "Abstract class" and "Interfaces" ? Job Java Interview Question :

1.Abstract class only be inherited while interfaces cannot be extended but implemented.

2.Interface cannot implement any methods ,whereas an abstract class can have implementation.

3.Interface is not part of the class hierarchy while Abstract class comes in through inheritance.

4.Abstract class is a class that cannot be instantiated but contain implementation whereas Interface contains only method definition and no implementation.

5.An interface can extend only another interface whereas any class can extend an abstract class.

6.All variables declared in interface are final.

You can submit your resume for right Job

http://www.interviewdot.com/upload-resume/uploadresume.htm

For more Interview questions and answers  - logon to www.InterviewDot.com 

You can submit your resume for right Job

http://www.interviewdot.com/upload-resume/uploadresume.htm

http://www.interviewdot.com http://www.interviewdot.com http://www.interviewdot.com

More from this channel