File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes difference b/w interface and class Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "difference b/w interface and class" Watch "difference b/w interface and class" New topic
Author

difference b/w interface and class

yasirbadshah
Greenhorn

Joined: Dec 16, 2001
Posts: 1
what is the difference between interface and class?
Manfred Leonhardt
Ranch Hand

Joined: Jan 09, 2001
Posts: 1492
Hi,
Interface: contract to implement a specified API.
Class: Any java object.
We can extend only one class, but we can implement many interfaces.
You had better start reading any java book as this is essential to Java!
NOTE: Your name doesn't fit with the Ranch naming policy. Please read it here and re-register with a valid name.
Regards,
Manfred.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: difference b/w interface and class
 
Similar Threads
what are the most common questions on Java job interviews?
difference between abstract class and an interface
Core Java Releated Quesstion
abstract class Vs interface
Interface