RAPID LEARNING JAVA
RAPID LEARNING JAVA
About the Book
Info
JAVA is Object Oriented Programming Language.
JAVA home page is at https://www.oracle.com/java/index.html.
Book content
This book is collection of standalone tutorials.
This means that each tutorial contains minimum amount of code needed to explain specific functionality.
This is in contrast to building a single application where each new functionality is added on top of already explained ones.
Each tutorial has minimum amount of supporting text making emphasis on the code example to do the explaining.
How to use this book
This book can be used as an introduction to JAVA programming language covering all of the basic core functionalities.
Book is also intended as Just In Time Support so that user can learn what it needs when it needs it.
This is why tutorials are standalone and minimalistic focusing only at one problem at the time.
Table of Contents
1.1 About JAVA
1.2 Install
1.2.1 Automatically
1.2.2 Manually
1.3 Create Application
1.3.1 Console
1.3.2 Applet
1.4 Support
1.4.1 javac.exe
1.4.2 java.exe
2. Basic Syntax
2.1 Comments
2.1.1 Single Line
2.1.2 Multi Line
2.2 Operators
2.2.1 Comparison
2.2.2 Arithmetic
2.2.3 Assignment
2.2.4 Bitwise
2.2.5 Logical
2.3 Statements
2.3.1 Conditional
2.3.1.1 Branching
2.3.1.1.1 if
2.3.1.1.2 else
2.3.1.1.3 else if
2.3.1.1.4 switch
2.3.1.1.5 ? :
2.3.1.2 Looping
2.3.1.2.1 for
2.3.1.2.2 while
2.3.1.2.3 do ... while
2.3.2 Jumping
2.3.2.1 break
2.3.2.2 continue
2.4 Data types
2.4.1 Scalar
2.4.1.1 null
2.4.1.2 bool
2.4.1.3 byte
2.4.1.4 short
2.4.1.5 int
2.4.1.6 long
2.4.1.7 float
2.4.1.8 double
2.4.1.9 char
2.4.2 Compound
2.4.2.1 String
2.4.2.2 array
2.4.2.3 Class
2.5 Literals
2.5.1 Null
2.5.2 Boolean
2.5.3 Integer
2.5.3.1 Decimal Notation
2.5.3.2 Octal Notation
2.5.3.3 Hexadecimal Notation
2.5.4 Long
2.5.4.1 Decimal Notation
2.5.4.2 Octal Notation
2.5.4.3 Hexadecimal Notation
2.5.5 Float
2.5.5.1 Basic Notation
2.5.5.2 Scientific Notation
2.5.6 Double
2.5.6.1 Basic Notation
2.5.6.2 Scientific Notation
2.5.7 Character
2.5.8 String
2.5.9 Array
3. Object Oriented Syntax
3.1 Classes
3.1.1 Inheritance
3.1.2 Reflection
3.1.3 ClassLoader
3.2 Interface
3.3 Objects
3.3.1 Create
3.3.2 Upcasting
3.3.3 Downcasting
3.4 Exceptions
3.5 Methods
3.5.1 Create
3.5.2 Parameters Scope
3.5.3 Overloading
3.5.4 Overriding
4. Advanced Syntax
4.1 Generic
4.1.1 Class
4.1.2 Method
4.1.3 Type inference
4.1.4 Type parameters
4.1.5 Wildcards
5. Built in functionalities
5.1 Directories
5.1.1 Attributes
5.1.2 Create
5.1.3 Rename
5.1.4 Move
5.1.5 Copy
5.1.6 Read
5.1.7 Delete
5.2 Files
5.2.1 Common Procedures
5.2.1.1 Attributes
5.2.1.2 Delete
5.2.1.3 Copy
5.2.1.4 Move
5.2.1.5 Rename
5.2.1.6 Write simultaneously
5.2.2 Text
5.2.2.1 Read
5.2.2.1.1 FileReader
5.2.2.1.2 BufferedReader
5.2.2.2 Write
5.2.2.2.1 FileWriter
5.2.2.2.2 BufferedWritter
5.2.2.2.3 PrintWriter
5.2.2.2.4 fileWriter
5.2.3 Binary
5.2.3.1 Write
5.2.3.1.1 FileOutputStream
5.2.3.1.2 DataOutputStream
5.2.3.2 Read
5.2.3.2.1 FileInputStream
5.2.3.2.2 DataInputStream
5.2.4 Properties
5.2.4.1 Create
5.2.4.2 Read
5.2.4.3 Edit
5.2.5 Image
5.2.5.1 Create
5.2.5.2 Edit
5.2.5.3 Display
5.2.5.4 Display Multiple Images
5.3 HTTP Request
5.3.1 GET
5.3.2 POST
5.4 Collections
5.4.1 HashMap
5.4.2 Vectors
5.4.3 Iterator
5.4.4 Hashtables
5.4.5 Enumerator
5.4.6 Date/Time
5.5 Serialization
6. Appendix
6.1 ASCII Table
6.2 Cheat Sheets
6.2.1 bool
6.2.2 byte
6.2.3 short
6.2.4 int
6.2.5 long
6.2.6 float
6.2.7 double
6.2.8 char
6.2.9 String
6.2.10 array
6.2.10.1 Single dimensional
6.2.10.2 Multi Dimensional
Other books by this author
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.
You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!
So, there's no reason not to click the Add to Cart button, is there?
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $13 millionwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them