File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes INTERFACE & ABSTRACT in JAVA!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
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://aspose.com/file-tools
 
subject: INTERFACE & ABSTRACT in JAVA!!!