Begin with Java
IOPROG
Begin with Java 1
The Core Elements
Table of Contents
The Starting Program
–
Standalone Application ………………………
2
The Starting Program
–
Applet …………………………………………………
2
Using a native Texteditor and Commanline ”IDE” …………………
…
2
Using
Greenfoot IDE ………………………………………………
………………….
4
Java BlueJ IDE ………………………………………………………………………
…..
5
Using BlueJ IDE …………………………………………………………………………
. 5
Using JCreator
……………………………………………………………………………
6
Using NetBeans ………………………………………………………………………….
6
The Core Elements …………………………………………………………………..
6
Keyboard Input and Console Output ……………………………..
……
……
11
Control Statements ……………………………
……………………………………. 15
Methods ………………………………………………………………………………….. 28
Arrays ………………………………………………………………………………………
.
37
String, StringBuilder, StringBuffer …………………………………………
43
Begin with Java
IOPROG
Begin with Java 2
Object
-
Oriented Programming Foundations
Table of Contents
Object
-
Oriented Programming
–
OOP ……………………………………
………………………
2
Generics ………………………………………………………………………………………………………
…
22
Java and Database Technique without Database
–
ArrayList
…
………………….. 37
An Application using ArrayLis
t as a Database …………………………………………….. 45
Begin with Java
IOPROG
Begin with Java 3
Object
-
O
riented Programming Continuation
Table
of Contents
Different ways to reuse code …………………………………………………….
1
The second “pillow”: inheritance ……………………………………………..
9
The third “pillow”: polymorphism ……………………………………………
.
26
Abstract Classes and Interfaces ………………………………………………
.
3
0
Generic Classes ………………………………………………………………………….
Begin with Java
IOPROG
Begin with Java 4
Java Applet
Table of Contents
What is a
Java Applet?
2
Applet versus
Application
2
The superclass Applet
2
The superc
lass
JApplet
3
The Life Cycle of An
Applet
3
Java Applet
-
Creating the
First Applet Example
3
Enable Java Applet
in the Web Browser
5
The Complet
e <APPLET> Tag
5
The Java A
pplet Viewer
6
Using BlueJ fo
r Java Applets
7
Drawing Shapes with Col
or in Java Applet
9
Displaying Image
s in Java Applet
10
GUI Components
in Java Applet
11
Event
-
D
riven
Programming
12
What is a Listener?
20
EventL
isteners
21
ActionListener
for GUI Compo
nents in Java Applet
21
MouseListener in Java Applet
23
Begin with Java
IOPROG
Begin with Java 5
Exception Handling, Threading
.
What is an Exception? …………………………………………………………………………………… 2
The Nature of Exceptions …
…………………………………………………………………………… 6
Exception Handling Process ………………………………………………………………………….. 7
The Three Kinds of Exception ……………………………………………………………………… 7
Exception Classes ………………………………………………………………………………………….. 8
Unchecked Exceptions …………………………………………………………………………………… 9
Checked Exceptions ………………………………………………………………………………………. 9
Exception Handling Operations …………………………………………………………………….. 10
Declaring Exceptions …………………………………………………………………
…………………… 11
Throwing an Exception ………………………………………………………………………………….. 11
Catching an Exception …………………………………………………………………………………… 11
try
-
catch
-
finally …………………………………………………………………………………………….. 12
Not care about Exceptions
……………………………………………………………………………. 15
Creating Exception Classes …………………………………………………………………………. 17
The contents for Thread
ing
not published for the moment
Begin with Java
IOPROG
Begin with Java 6
Developing Java Solution. Analysis and Design
Principles. Design Patterns
.
Detailed contents not published for the moment
Begin with Java
IOPROG
Begin with Java 7
.1 and 7.2
Datastructures. Filehandling. Sorting and Seaching Algoritms.
Built
-
in Data Structures and
Algorithms ……………………………………………………………………… 2
User
-
defined Data Structures and Algorithms ……………………………………………………………… 13
Filehandling
-
Files, Streams and Object Serialization ……………………………………………….
21
Filehandling and ArrayList …………………
…………………………………………
……………………….. 2
Filehandling and ArrayList as a Database Technique …………………………………………………. 18
Filehandling and Object Serialized ArrayList as a Database Technique …………………….. 40
Begin with Java
IOPROG
Begin with Java 8
Java Graphics and
Graphical User Interface
.
Detailed contents not published for the moment
Begin with Java
IOPROG
Begin with Java 9
Relational Databases and SQL Foundations. Java Database Connectivity.
Database Management System
–
DBMS …………………………………………………………………… 2
Installing MySQL Database Engine and Management System and Java
-
MySQL
Connector/Communication Driver ……………………………………………………………………………. 6
Implementing a many
-
to
-
many relationship …………………………………………………………… 8
Connecting Java with MySQL
–
JDBC
–
Java Databa
se Connectivity …………………….. 10
Connecting Java with the MySQL Database
–
ConnectDB class …………………………….. 13
Java/JDBC Many
-
to
-
Many Database Relation …………………………………………………………. 17
Begin with Java
IOPROG
Begin with Java 10
Java and the Network
.
Detailed contents
not published for the moment
Enter the password to open this PDF file:
File name:
-
File size:
-
Title:
-
Author:
-
Subject:
-
Keywords:
-
Creation Date:
-
Modification Date:
-
Creator:
-
PDF Producer:
-
PDF Version:
-
Page Count:
-
Preparing document for printing…
0%
Σχόλια 0
Συνδεθείτε για να κοινοποιήσετε σχόλιο