Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java in General
Search Coderanch
Advance search
Google search
Register / Login
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Java in General
why we use interface instead of abstract class
Sanju
Ranch Hand
Posts: 53
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
HI,
Abstract class and interfaces both we have to declare methods. at what situation we can use abstract class and interfaces. both should have to use declared methods. but why mostof the time we prefer interfaces? why not abtstract class.
plz explain any body,
Sanju.
Thank you,<br />Sanju
William Brogden
Author and all-around good cowpoke
Posts: 13078
6
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You asked this question in at least one other forum. Kindly don't multi-post the same question in multiple places. This is really a beginner question.
Do the next thing next. That’s a pretty good rule. Read the tiny ad, that’s a pretty good rule, too.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
why we use interface instead of abstract class
Abstract classes instead of Interfaces
why we use interface instead of abstract class
interfaces Vs abstract classes
interfaces and abstract classes
More...