This week's book giveaway is in the Java in General forum. We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line! See this thread for details.
what is the difference between interface and class?
posted 14 years ago
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.