Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
2Activity

Table Of Contents

Introduction
About JAVA
OOP – Object Oriented Programming
Part 1 - Getting Started
The Java Development Kit – JDK
My first Java program
Using an IDE
Variables and Data Types
Variables
Test your skills – Example3
Mathematical Operators
Logical Operators
Character Escape Codes
Test your skills – Example7
Data Types
Introducing Control Statements
Blocks of Code
Test your skills – Example14
The Math Class
Scope and Lifetime of Variables
Type Casting and Conversions
Using the Keyboard Class
Using the Scanner Class
Using Swing Components
Part 2 - Advanced Java Programming
Control Statements - The if Statement
Guessing Game (Guess.java)
Nested if
Guessing Game v.3
if-else-if Ladder
Ternary (?) Operator
switch Statement (case of)
Nested switch
Mini-Project – Java Help System (Help.java)
The for Loop
Multiple Loop Control Variable
Terminating a loop via user intervention
Interesting For Loop Variations
Infinite Loops
No ‘Body’ Loops
Declaring variables inside the loop
Enhanced For loop
The While Loop
The do-while Loop
Mini-Project 2– Java Help System (Help2.java)
Complete listing
Using Break to Terminate a Loop
Terminating a loop with break and use labels to carry on execution
Use of Continue (complement of Break)
Continue + Label
Mini-Project 3– Java Help System (Help3.java)
Complete Listing
Nested Loops
Class Fundamentals
Definition
The Vehicle Class
Using the Vehicle class
Creating more than one instance
Creating Objects
Reference Variables and Assignment
Methods
Returning from a Method
Returning a Value
Methods which accept Parameters:
Project: Creating a Help class from the Help3.java
Method helpon( )
Method showmenu( )
Method isvalid( )
Class Help
Constructor having parameters
Overloading Methods and Constructors
Method Overloading
Automatic Type Conversion for Parameters of overloaded Methods
Overloading Constructors
Access Specifiers: public and private
Arrays and Strings
Arrays
One-dimensional Arrays
Sorting an Array – The Bubble Sort
Two-Dimensional Arrays:
Different syntax used to declare arrays:
Array References:
The Length Variable:
Using Arrays to create a Queue data structure **
The Enhanced ‘for’ Loop:
Strings
Using String Methods
String Arrays
Vector and ArrayList
Employee.java
ComparableDemo.java
File Operations in Java
Template to read data from disk
Template to write (save) data to disk
Introduction to GUI using AWT/Swing
Using Swing to create a small Window
Inserting Text inside Window
Creating a simple application implementing JButton, JTextfield and JLabel
0 of .
Results for:
No results containing your search query
P. 1
jn

jn

Ratings: (0)|Views: 1,339|Likes:
Published by successfulkid

More info:

Published by: successfulkid on Apr 18, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

10/14/2013

pdf

text

original

You're Reading a Free Preview
Pages 4 to 22 are not shown in this preview.
You're Reading a Free Preview
Pages 26 to 86 are not shown in this preview.
You're Reading a Free Preview
Pages 90 to 118 are not shown in this preview.
You're Reading a Free Preview
Pages 122 to 148 are not shown in this preview.

Activity (2)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->