• Post Reply Bookmark Topic Watch Topic
  • New Topic

use of abstact class and interface  RSS feed

 
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?
 
Bartender
Posts: 2856
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
Boost this thread!