| Author |
Wrapper Classes - getxxx() Question
|
Chris Gastin
Ranch Hand
Joined: Aug 13, 2002
Posts: 51
|
|
All wrapper classes have their particular getXxx() - I do not quite follow the API for it. For example could someone explain to me what getInteger() does? Thanks Chris Gastin
|
Chris Gastin<br />SCJP 1.4<br />SCWCD 1.3
|
 |
Jose Botella
Ranch Hand
Joined: Jul 03, 2001
Posts: 2120
|
|
Welcome to the Ranch. The porperties are name-value pairs that can be accessed with the methods getProperties() and getProperty() from the class System. You can read about the class java.util.Properies in the Java Tutorial
|
SCJP2. Please Indent your code using UBB Code
|
 |
Barry Gaunt
Ranch Hand
Joined: Aug 03, 2002
Posts: 7729
|
|
Very simple example of use of Integer.getInteger:
|
Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
|
 |
 |
|
|
subject: Wrapper Classes - getxxx() Question
|
|
|