MySQL Forums
Forum List  »  Connector/JDBC and Java

I have a question ?
Posted by: Jeena Dicostta
Date: March 09, 2009 04:33AM

How are static fields and methods different from non-static fields and methods? What would go wrong if we declared the balance field of a bank account class to be static? What could go wrong if every account had a field containing today's interest rate?

____________________

Polo Shirt Printing
T shirt Embroidery

Options: ReplyQuote


Subject
Written By
Posted
I have a question ?
March 09, 2009 04:33AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.