Login with Facebook
Login
Books
NCERT
CBSE
AIEEE
IITJEE
Tamilnadu
BITS MSSS
ANU
IPE
UPSC
SCJP - Sun Certified Programmer for Java
(
1
,
0
,
2
0
)
Share
add note
Contributions
Acknowledgements
Preface
introduction
1. Declarations and Access Control
Java Refresher
Identifiers & JavaBeans (Objectives 1.3 and 1.4)
Legal Identifiers
Sun's Java Code Conventions
JavaBeans Standards
Declare classes (Exam objective 1.1)
Source file declaration rules
Class Declarations and Modifiers
Exercise 1.1: Creating an Abstract Super class and
Concrete Subclass
Declare Interfaces (Exam Objectives 1.1 and 1.2)
Declaring an Interface
Declaring Interface constants
Declare Class members (Objectives 1.3 and 1.4)
Access Modifiers
Non Access member Modifiers
Construction Declarations
Variable Declarations
6
Declaring Enums
Two Minute Drill
Q&A Self Test
Self Test Answers
2.Object Orientation
Encapsulation (Exam 5.1)
Inheritance is - A, Has - A( Exam Objective 5.5)
Is - A
Has - A
Polymorphism Exam objective
Over Riding/Over Loading
OverRidden Methods
Over Loaded Methods
Reference Variable Casting
Implementing an Interface
Legal return Types
Return Type Declaration
Returning a value
Constructors and Instantiation
Determine whether a default constructor will be created
Overloaded Constructors
Statics
Static Variables and Methods
4
Coupling and Cohesion
Two Minute Drill
Self Test
Self Test Answers
3. Assignments
Stack and Heap - Quick review
Literals, Assignments and Variables
Literal Values for all Primitive types
Assignment Operators
Casting Primitives
Using a Variable or array element that is Uninitialised and Unassigned
Local (Stack, Automatics)Primitive and Objects
Passing Variables into methods
Passing object Reference Variables
Does Java use pass by value Semantics
Passing Primitive Variables
Array Declaration, construction and Initialization
Declaring an Array
Constructing an Array
Initialising an Array
Initialization Blocks
Using Wrapper classes and boxing
An overview of the Wrapper classes
Creating wrapper objects
Using Wrapper conversion utilities
Autoboxing
Over Loading
Garbage collection
Overview of Memory Management and Garbage collection
Overview of Java's Garbage collector
Writing code that explicitly make objects eligible for collection
Garbage collection experiment
Two-Minute drill
Self Test
Self Test Answers
4. Operators
1
Assignment Operators
2
Relational Operators
Instance of comparison
Arithmetic Operators
Conditional Operator
Logical Operator
Two Minute Drill
Self test
self Test Answers
5. Flow control, Exceptions and Assertions
if and Switch Statements
if-else branching
Switch Statements
Creating a Switch Case Statement
Loops and Iterations
Using while loops
Using do Loops
Using for Loops
Using break and continue
Unlabeled Statements
Labeled Statements
Exercise 5.2 Creating a Labeled while loop
Handling Exceptions
Catching an Exception Using Try and Catch
Using finally
Propagating Uncaught exceptions
Exercise 5.3 Propagating and catching an Exception
Defining Exceptions
Exception Hierarchy
Handing an Entire class Hierarchy class of exceptions
Exception Matching
Exception declaration and public interface
Rethrowing the same exception
Exercise 5.4 Creating an Exception
Common exceptions and Errors
Working with the assertion mechanism
Assertions Overview
Enabling Assertions
Using Assertions Appropriately
Two Minute Drill
Self Test
Self Test Answers
6. Strings, I/O, formatting and Parsing
5
String, String Builder and String buffer
The String class
Important facts about strings and memory
Important methods in the string class
The string buffer and String builder classes
Important Methods in the string buffer and string builder classes
File Navigation and I/O systems
The Java IO Console Class
Serialization
Dates, Numbers and Currency
1
Working with Dates, numbers and Currencies
Parsing, Tokenising and Formatting
A Search Tutorial
Locating Via pattern Matching
Tokenizing
Formatting with print(f) and format()
Two Minutes Drill
Self Test
Self Test Answers
7. Generics and Collections
Overriding Hash code and equals
Overriding Equals
Overriding Hash Code
Collections
So what do you do with a collection
List Interface
Set Interface
Map Interface
Queue Interface
Using the Collections Framework
Arraylist Basics
Autoboxing with collections
Sorting Collections and Arrays
Navigating Tree sets and Tree Maps
Other Navigation Methods
Backed Collections
Generic Types
Generics and Legacy Code
Mixing Generic and Non Generic Collections
Polymorphism and Generics
Generic Methods
Generic Declarations
Two-Minute Drill
Self Test
Self Test Answers
8. Inner Classes
Inner Classes
Coding a "Regular" Inner class
Referencing the inner or outer instance from within the Inner class
Method Local inner classes
What a Method Local inner Object can and Can't do
Anonymous Inner Classes
Plain old Anonymous Inner classes, Flavour one
Plain old anonymous inner classes, flavour two
Argument Defined Anonymous Inner classes
Static Nested Classes
Instantiating and Using Static Nested classes
Two minute drill
Self test
Self Test Answers
9. Threads
Defining, Instantiating and Starting threads
Defining a thread
Instantiating a Thread
Starting a Thread
Thread states and Transitions
Thread States
Preventing Thread Execution
Sleeping
Exercise 9-1: Creating a Thread and
Putting it to Sleep
Thread Priorities and yield
Synchronizing Code
Synchronization and Locks
Exercise - 9.2: Synchronizing a block of code
Thread Dead lock
Thread Interaction
Using Notify (all) when many Threads
May be Waiting
Two minute Drill
Self Test
Self Test Answers
Exercise Answers
10. Development
Using the Javac and Java Commands
Compiling with javac
Launching Applications with Java
Searching for Other Classes
JAR Files
JAR Files and Searching
Using Static Imports
Static Imports
Two Minute Drill
Self Test
Self Test Answers
A About the CD
System Requirements
Installing and Running Master Exam
Master Exam
Electronic Book
Help
Removing Installation
Technical Support
Learnkey Technical Support
Bert Bates
Java Books
Katy Sierra
Sun Certified Programmer for Java 6
become moderator
see all followers
Attachments
SCJP - Sun Certified Programmer for Java Book link to Download
Your Ad Here