Two Laptop Bag
The moose likes Beginning Java and the fly likes java question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "java question" Watch "java question" New topic

java question

kumara swamy adurthi

Joined: Mar 16, 2005
Posts: 4
is java purely object ? or not ? if not why ?

is there any advantage or disadvantage of using static ? what are the advantages and what are the disadvantages?

what are the advantages of using interfaces over abstract class.? or vice versa.
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

This forum is for Servlets questions, your Java In General question is not about Servlets. Please post your questions in the most appropriate forum.

I will move this thread to the Java In General (Beginner) forum for you.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
K Riaz
Ranch Hand

Joined: Jan 08, 2005
Posts: 375
These sound like Assignment questions. If you can demonstrate some understanding, we can help, but not a full answer which you may pass as your own. But to get you started:

Interfaces - Bare classes with no implementations, just method "headers". Like a contract.

Abstract - Like interfaces, but some implementation may be provided for certain methods. Cannot create instances of Abstract classes.

Now ask yourself which is better and why.
I agree. Here's the link:
subject: java question
It's not a secret anymore!