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

(singke) #1
ptg7068951

12 HOUR 1:Becoming a Programmer


Activities
If you’d like to better introduce yourself to the subjects of Java and com-
puter programming, do the following activities:

. Visit Oracle’s Java site at http://www.oracle.com/technetwork/topics/
newtojava, and read some of the Get Started with Java Technology
pages.
. Using English sentences instead of a programming language, write a
set of instructions to add 10 to a number selected by a user, and then
multiply the result by 5. Break the instructions into as many short
one-sentence lines as you can.


To see solutions to the activities at the end of each hour, visit the book’s
website at http://www.java24hours.com.
Free download pdf