Java in easy steps Covers Java 9

Mike McGrath, 1956-

Book - 2017

"Equally useful for newcomers with no previous knowledge of programming languages, hobbyists looking to explore Java's possibilities, and experienced programmers who wish to add Java to their skill set, Java In Easy Steps begins by explaining how to download and install the free Java Development Kit (JDK) so that the reader can quickly begin to create executable programs by copying the examples. Written in the clear, jargon-free style that has made the series successful, this book progressively builds knowledge of Java, so that by the end, readers will have gained a sound understanding of the Java language and be able to write their own Java programs and compile them into executable files that can be run on any Java-enabled comput...er. Every page is packed with confidence-building visual guides so that what readers see on their screens is exactly what appears in the book."--Publisher's description.

Saved in:

2nd Floor Show me where

005.133/JAVA/McGrath
1 / 1 copies available
Location Call Number   Status
2nd Floor 005.133/JAVA/McGrath Checked In
Subjects
Published
Leamington Spa, Warwickshire, United Kingdom : In Easy Steps [2017]
Language
English
Main Author
Mike McGrath, 1956- (author)
Edition
Sixth edition
Item Description
Includes index.
Physical Description
192 pages : colour illustrations ; 23 cm
ISBN
9781840787535
  • 1. Getting started
  • Introduction
  • Installing the JDK
  • Writing a first Java program
  • Compiling & running programs
  • Creating a variable
  • Recognizing data types
  • Creating constants
  • Adding comments
  • Troubleshooting problems
  • Summary
  • 2. Performing operations
  • Doing arithmetic
  • Assigning values
  • Comparing values
  • Assessing logic
  • Examining conditions
  • Setting precedence
  • Escaping literals
  • Working with bits
  • Summary
  • 3. Making statements
  • Branching with it
  • Branching alternatives
  • Switching branches
  • Looping for
  • Looping while true
  • Doing do-while loops
  • Breaking out of loops
  • Returning control
  • Summary
  • 4. Directing values
  • Casting type values
  • Creating variable arrays
  • Passing an argument
  • Passing multiple arguments
  • Looping through elements
  • Changing element values
  • Adding array dimensions
  • Catching exceptions
  • Summary
  • 5. Manipulating data
  • Exploring Java classes
  • Doing mathematics
  • Rounding numbers
  • Generating random numbers
  • Managing strings
  • Comparing strings
  • Searching strings
  • Manipulating characters
  • Summary
  • 6. Creating classes
  • Forming multiple methods
  • Understanding program scope
  • Forming multiple classes
  • Extending an existing class
  • Creating an object instance
  • Producing an object instance
  • Encapsulating properties
  • Constructing object values
  • Summary
  • 7. Importing functions
  • Handling files
  • Reading console input
  • Reading files
  • Writing files
  • Sorting array elements
  • Making array lists
  • Managing dates
  • Formatting numbers
  • Summary
  • 8. Building interfaces
  • Creating a window
  • Adding push buttons
  • Adding labels
  • Adding text fields
  • Adding item selectors
  • Adding radio buttons
  • Arranging components
  • Changing appearance
  • Summary
  • 9. Recognizing events
  • Listening for events
  • Generating events
  • Handling button events
  • Handling item events
  • Reacting to keyboard events
  • Responding to mouse events
  • Announcing messages
  • Requesting input
  • Summary
  • 10. Deploying programs
  • Producing an application
  • Distributing programs
  • Building Java archives
  • Deploying applications
  • Creating Android projects
  • Exploring project files
  • Adding resources & controls
  • Inserting Java code
  • Testing the application
  • Deploying Android apps
  • Summary
  • Index