Java For Dummies Quick Reference

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

A reference that answers your questions as you move through your coding The demand for Android programming and web apps continues to grow at an unprecedented pace and Java is the preferred language for both. Java For Dummies Quick Reference keeps you moving through your coding while you solve a problem, look up a command or syntax, or search for a programming tip. Whether you're a Java newbie or a seasoned user, this fast reference offers you quick access to solutions without requiring that you wade through pages of tutorial material. • Leverages the true reference format that is organized with quick answers and solutions so you can read less and do more • Offers new elements such as a syntax guide, command guide, special generics and annotation section, and programming tips • Boasts a new, compact trim size that easily goes where you go for convenient referencing Java For Dummies Quick Reference helps you move quickly and efficiently through Java without missing a beat!

Author(s): Doug Lowe
Series: For Dummies
Edition: 1
Publisher: John Wiley & Sons, Inc.
Year: 2012

Language: English
Pages: 276
City: Hoboken
Tags: Java programming language

Java® For Dummies® Quick Reference
Contents at a Glance
Table of Contents
Introduction
About Java For Dummies Quick Reference
Foolish Assumptions
Conventions Used in This Book
How This Book Is Organized
Icons Used in This Book
Where to Go from Here
Part 1: Java Language Tools
Downloading and Installing the Java Development Kit
JDK Folder Structure
Setting the Path for Java
java Command
javac Command
javap Command
jar Command
Part 2: Java Language Basics
& and && Operators
| and || Operators
! Operator
Abstract Class
And Operators (& and &&)
Anonymous Class
Arrays
Assignment Statements
Blocks
boolean Data Type
Boolean Expressions
Boolean Operators
break Statement
byte Data Type
Casting
char Data Type
Checked Exceptions
Class Declaration
Class Variables
Comments
Concatenating Strings
Constants
Constructor
continue Statement
Data Types
Decrement Operator
do...while Statement
double Data Type
Escape Sequences
Exception Class
Exceptions
extends Keyword
Fields
final Class
final Method
final Variables
float Data Type
Floating-point Data Types
for Statement
Generic Class
Identifiers
if Statement
implements Keyword
import Statement
Increment and Decrement Operators
Inheritance
Inner Class
Initializer
Instance Variables
int Data Type
Integer Data Types
Interface
Keywords
Local Variables
Logical Operators
long Data Type
Main Method
Method
Not Operator (!)
Object-Oriented Programming
Operators
Or Operators (| and ||)
Package Statement
Parsing Strings
Polymorphism
Primitive Data Types
private Keyword
protected Keyword
public Keyword
Recursion
Reference Types
Scope
Shadowing
short Data Type
Statements
static Keyword
String Data Type
switch Statement
super Keyword
this Keyword
throw Statement
throws Keyword
try Statement
Variables
while Statement
White Space
Part 3: Basic Java Classes
ArrayList Class
Arrays Class
Class Class
Exception Class
Iterable Interface
Iterator Interface
LinkedList Class
Matcher Class
Math Class
NumberFormat Class
Object Class
Pattern Class
Random Numbers
Regular Expressions
Runnable Interface
String Class
StringBuffer Class
StringBuilder Class
Thread Class
Part 4: File and Network I/O
BufferedInputStream Class
BufferedOutputStream Class
BufferedReader Class
BufferedWriter Class
DataInputStream Class
DataOutputStream Class
DirectoryStream Class
InputStream Class
File Class
FileInputStream Class
FileOutputStream Class
FileReader Class
Files Class
FileVisitor Interface
FileVisitResult Enum
FileWriter Class
InetAddress Class
OutputStream Class
Path Interface
Paths Class
PrintStream Class
PrintWriter Class
Reader Class
Scanner Class
ServerSocket Class
SimpleFileVisitor Class
Socket Class
Streams (Overview)
System.err
System.out
Writer Class
Part 5: Swing
ActionEvent Class
ActionListener Interface
BorderFactory Class
ButtonGroup Class
DefaultListModel Class
Event Handling
FileFilter Class
ItemEvent Class
ItemListener Interface
JButton Class
JCheckBox Class
JFileChooser Class
JComboBox Class
JFrame Class
JLabel Class
JList Class
JOptionPane Class
JPanel Class
JRadioButton Class
JScrollPane Class
JSlider Class
JSpinner Class
JTextArea Class
JTextField Class
SpinnerListModel Class
SpinnerNumberModel Class
Index