View Single Post
  #2 (permalink)  
Old 01-13-2008, 11:44 PM
CaptainMorgan's Avatar
CaptainMorgan CaptainMorgan is offline
Moderator
 
Join Date: Dec 2007
Location: NewEngland, US
Posts: 841
CaptainMorgan will become famous soon enoughCaptainMorgan will become famous soon enough
Send a message via AIM to CaptainMorgan
I'm assuming when you create a new Properties object that there are two methods put and get, as well as a constructor that takes a Properties object. When you call put, it takes two arguments - of type String. And when you go to retrieve the value of one of the instance variables using get you're passing a String again. The questions become, what are the types of your instance variables, what are their values after you use put and what is the correct function of get?
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
to our beloved Java Forums!
(closes on September 4, 2008)
Want to voice your opinion on your IDE/Editor of choice?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
!
Got a little Capt'n in you? (drink responsibly)
Reply With Quote