• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Abstract classes and Interfaces

 
Rashmi Dupati
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello

Can you please answer my questions:

1.What is the difference between Abstact classes and Interfaces.in program how we are going to decide which one to create?and when to use interfaces and when to use absract classes?(In programmatically)

2.can we declare variables in interface?

thanks & regards
Rashmi
 
Thomas Thevis
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Rashmi,

please use the forum's search function. This question has been posted several times in the last weeks. Please read these posts first. If you still have questions afterwards, come back and post them.

Best Regards,
Thomas
 
Campbell Ritchie
Sheriff
Pie
Posts: 50189
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look at this FAQ; if there is anything you don't understand come back.

But a search of this forum will find several very similar old threads.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic