getting started with java

Free Download

Authors:

Edition: 1

ISBN: 9781430227847, 1430227842

Size: 1 MB (1326717 bytes)

Pages: 155/155

File format:

Language:

Publishing Year:

Category:

Jonathan Jackson9781430227847, 1430227842

There are so many different subsets of Java across the Java Platform—Java SE, Java EE, Java ME, Java FX—that it’s hard to know where to start. The answer is right here! Getting StartED with Java™ is a complete beginner’s guide to the Java Platform that cuts through all of the confusion and guides you through creating applications in Java.
The beauty of Java is that once you’ve learned the basics of the language, you can write applications to run on anything from your desktop PC, to your mobile phone, to the Internet. You will come to grips with the Java Development Kit and follow step-by-step examples to learn how to write your first programs in Java.
– Absolute beginner’s guide to the Java language
– Clear, friendly, no-nonsense approach cuts through the jargon
– A wealth of step-by-step examples and sample programs to get you started with Java
What you’ll learn
– What the Java Platform is, and how the different parts of it fit together
– How to install the Java Development Kit and the Java Runtime Environment
– The basics of programming from the ground up with jargon-free explanation
– How to write applications using Java that will run on almost any device
– The fundamentals of object-oriented programming—a structured style of programming that isn’t as hard as you think
– How to create web applications in Java, and the basics of Java FX
Who is this book for?
This book is for anyone wanting to understand what Java is, whether they intend to program or not, and anyone intending to begin programming in the Java language.

Table of contents :
Getting Started with Java®……Page 1
Contents……Page 3
Ch 1: Introduction……Page 5
Documentation conventions……Page 7
Contacting Borland developer support……Page 8
Usenet newsgroups……Page 9
Reporting bugs……Page 10
Identifier……Page 11
Primitive data types……Page 12
Strings……Page 13
Literal……Page 14
Methods……Page 15
Keywords……Page 17
Operators……Page 18
Comments……Page 19
Understanding scope……Page 21
Using operators……Page 22
Arithmetic operators……Page 23
Logical operators……Page 24
Assignment operators……Page 25
Bitwise operators……Page 26
Using methods……Page 28
Using constructors……Page 29
Member access……Page 30
Arrays……Page 31
String handling……Page 33
Type casting and conversion……Page 34
Flow control statements……Page 35
String handling……Page 36
Determining access……Page 38
Handling methods……Page 39
Explicit conversion……Page 40
Loops……Page 41
Loop control statements……Page 43
Conditional statements……Page 44
Handling exceptions……Page 45
Java 2 Platform editions……Page 49
Micro Edition……Page 50
Java 2 Standard Edition packages……Page 51
The Text package: java.text……Page 52
The Swing package: javax.swing……Page 53
The Applet package: java.applet……Page 54
The SQL package: java.sql……Page 55
The Security package: java.security……Page 56
Ch 6: Object-oriented programming in Java……Page 75
Declaring and instantiating classes……Page 76
Class methods……Page 77
Case study: A simple OOP example……Page 78
Class inheritance……Page 83
Access modifiers……Page 85
Access outside of a package……Page 86
Accessor methods……Page 87
Abstract classes……Page 90
Using interfaces……Page 91
Adding two new buttons……Page 95
The import statement……Page 97
Declaring packages……Page 98
Ch 7: Threading techniques……Page 99
Subclassing the Thread class……Page 100
Implementing the Runnable interface……Page 101
Defining a thread……Page 103
Making a thread not runnable……Page 104
Time slicing……Page 105
Thread groups……Page 106
Why serialize?……Page 109
Using the Serializable interface……Page 110
Using output streams……Page 112
ObjectOutputStream methods……Page 113
Using input streams……Page 114
Writing and reading object streams……Page 116
Ch 9: An introduction to the Java Virtual Machine……Page 117
The Java verifier……Page 119
The Security Manager and the java.security Package……Page 120
What about Just-In-Time compilers?……Page 122
Ch 10: Working with the Java Native Interface (JNI)……Page 123
Using the native keyword……Page 124
Using the javah tool……Page 125
Java 2 platform editions……Page 127
Java class libraries……Page 128
Packages, classes, members, and interfaces……Page 129
Loops and loop controls……Page 130
Converting and casting data types……Page 131
Primitive to primitive……Page 132
Primitive to String……Page 133
Primitive to reference……Page 134
String to primitive……Page 136
Reference to primitive……Page 138
Reference to reference……Page 139
Basic operators……Page 144
Arithmetic operators……Page 145
Assignment operators……Page 146
Bitwise operators……Page 147
Ternary operator……Page 148
A – C……Page 149
D – F……Page 150
G – J……Page 151
K – M……Page 152
N – P……Page 153
R – T……Page 154
U – Z……Page 155

Reviews

There are no reviews yet.

Be the first to review “getting started with java”
Shopping Cart
Scroll to Top