Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

use of abstact class and interface

 
mohanasundaram muthukannan
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,


What is the use of abstract classes?

What is the use of interface?


When to use abstract class and when to use interface?
 
Amit Ghorpade
Bartender
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi mohanasundaram muthukannan welcome to Javaranch

See InterfaceVsAbstractClass

When to use abstract class and when to use interface?


Should depend on your requirement.

Hope this helps
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic