aspose file tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Wrapper Classes - getxxx() Question Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "Wrapper Classes - getxxx() Question" Watch "Wrapper Classes - getxxx() Question" New topic
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.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Wrapper Classes - getxxx() Question
 
Similar Threads
Collections. .. .
getXxx exam objective
booleanValue()--help needed-exam in 2 days
primary key type can't be primitive type. True?
quick help, exam tomm, getXXX()