This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes INTERFACE & ABSTRACT in JAVA!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "INTERFACE & ABSTRACT in JAVA!!!" Watch "INTERFACE & ABSTRACT in JAVA!!!" New topic
Author

INTERFACE & ABSTRACT in JAVA!!!

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
What is the use of Abstract in Java? why we need to use Abstract and Interface in java?
Thanks in advance!
ADS
Daniel
Greenhorn

Joined: Dec 01, 2000
Posts: 9
Interface is Java's solution for mutiple inheritances. Unlike C++, Java doesn't support multiple inheritance.
Abstract class is like a template for other classes. No objects can be created from an abstract classes.
I'd recommend Core Java or Just Java if you want to learn more.
Daniel
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
HI DANIEL
THANKS A LOT!
ADS
Originally posted by ADS:
What is the use of Abstract in Java? why we need to use Abstract and Interface in java?
Thanks in advance!
ADS

 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: INTERFACE & ABSTRACT in JAVA!!!
 
Similar Threads
Abstract Class vs Interface
forcing implementing methods
abstract
Interface
Question on Interface