Hi!
Read carrefully homework task for LAB 1010!

It was: "mykey??=myValue??" instead Your version:
"myKey??=myValue??"

In case "mykey??" method load() inputs parameters from file in strange order:
mykey40... mykey20... mykey30...
I'm sure there is simple answer why this happend, but I don't know this
answer now.

Take care!
Sergey


> miga:
> Along with Crizzo, I also interpreted the homework for lab 1010 to create
> a new myProperties using the existing System Properties, then add the 3
> myKey properties and then display all the System properties which would
> now include the three new properties.
>
> If I understood your response correctly, you do not want the entire system
> properties list, only a list of the new myProperties.
> This would change the constructor in the homework to: Properties
> myProperties = new Properties();
>
> and the output to:  myProperties.list(System.out);
>
> which would yield the results of:
> run:
> -- listing properties --
> myKey20=myValue20
> myKey30=myValue30
> myKey40=myValue40
> BUILD SUCCESSFUL (total time: 2 seconds)
>
> Shall we resubmit the homework assignment?
>
> DaveB
>
> >
>



--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to