[hotjoe.com] HotJoe Java Help Forums
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Visit java.com
Please send email if you are having login problems - see the posts below for more info.
Hotmail and Yahoo! users - please see the Hotmail post or the Yahoo! post for information on lost emails.
Accessor methods?  XML
Forum Index » New to Java
Author Message
tiowa

Newbie

Joined: 10/29/2008 05:14:23
Messages: 2
Offline

Ok, I'm new in this and all.
But I'm stuck with accessor methods.
For example.
I have
public int getValue()
{
return value;
}
And I've already set Value, but the value ends up being 0.
Can someone help?
destin

Newbie
[Avatar]
Joined: 01/07/2006 19:13:04
Messages: 224
Offline

The accessor looks good. Can you post the rest of that class?
[Email]
 
Forum Index » New to Java
Go to:   
Powered by JForum 2.1.9 © JForum Team
This site run by Scott Dunbar of Xigole Systems. © 2005-2011 - Scott Dunbar
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners
hotjoe.com, xigole.com, and Scott Dunbar have no affiliation with Oracle