Hi Mahmoud,

Indeed you should try read the api, on the methods used in the code, to 
figure out what each line does.
But there is a minor catch in this code:

// set a property through setProperty() method
p.setProperty("myKey1", "myValue1");

Yet, the expected output in the end doesn't have this property. And if 
this is where you feel like "damn Java is wacked", then relax, I think 
the author just forgot to remove that line for the purpose of this exercice.

About the rest of the code, have you read the API? Do you still need help?

Hugs

Mahmoud Abou-Eita wrote:
> Hi all,
> I got stuck with the Home work exercise on the lab 10-10,
> so if anyone could tell me how to do it would be great
> and I've done SetSystemroperties.java,
> but I can't get what exactly each line of code does!
> so much appreciated if anyone could help me figure it out.
>
> Regards
> Mahmoud Abou-Eita
>
> >

--~--~---------~--~----~------------~-------~--~----~
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