Sams Teach Yourself Java™ in 24 Hours (Covering Java 7 and Android)

(singke) #1
ptg7068951

152 HOUR 11:Describing What Your Object Is Like


Q&A
Q. Do you have to create an object to use class variables or methods?
A. Because class variables and methods aren’t associated with a specific
object,you don’t need to create an object solely for the purpose of
using them. The use of the Integer.parseInt()method is an example
of this because you don’t have to create a new Integerobject just to
convert a string to an intvalue.

Q. Is there a list of all the built-in methods that Java supports?
A. Oracle offers full documentation for all classes in the Java language,
including all public methods you can use,on the Web at
http://download.oracle.com/javase/7/docs/api.

Q. What do I have to do to be ranked in men’s tennis?
A. There are currently 1,847 male tennis players ranked in the ATP World
To u r t e n n i s r a n k i n g s. I f y o u r g o a l i s t o d o a t l e a s t a s we l l a s t h e l o we s t
ranked player,you must reach the round of 16 in an ITF Futures tourna-
ment.
At the time of this writing,Tilen Zitnik is ranked in 1,847th place
among men’s singles players. Zitnik achieved this distinction by earning
only one point in the 15 tournaments he’s entered the past 52 weeks.
Several hundred other players also have earned one point,but they did
it in fewer tournaments.
Zitnik,a 19-year-old from Slovenia,played the Ukraine F3 futures tour-
nament in March 2011. There was a 48-player qualifier and a 32-player
field. Zitnik beat Matteo Marfa of Italy in three sets. He had the misfor-
tune of drawing No. 1 seed Artem Smirnov of the Ukraine in the second
round and lost in two sets. His year-to-date prize winnings are $1,260.
There’s probably a Futures tournament near you. More than 500 take
place around the world each year. Visit http://www.itftennis.com for the calen-
dar and entry information.
Good luck! If you make it,I want a share of your earnings.
Free download pdf