Syllabus
• Java Programming Fundamentals
• Introducing Data Types and
Operators
• Program Control Statements
• Introducing Classes, Objects and
Methods
• More Data Types and Operators
• String Handling
• A Closer Look at Methods and Classes
• Inheritance
• Interfaces
• Packages
• Exception Handling
• Multithreaded Programming
• Enumerations, Auto boxing and
Annotations
• Generics
• Applets
• Swing Fundamentals
• Networking with Java.net
• Exploring Collection Framework
• The History and Evolution of Java
• programming language
• Machine Language
• Assembly Language
• BASIC, COBOL, FORTRAN
• The Birth of Modern Programming: C 1970(Dennis
Richie)
• Because of complexity, C++ came in 1979 by Bjane
Strostup: The Next Step(OOPS)
• The Stage Is Set for Java
Java was conceived by James Gosling and 5
other in 1991.
“Oak,” but was renamed “Java” in
1995. “Internet version of C++.”
• The Creation of Java
• The C# Connection
• How Java Changed the Internet
• Java Applets
• Security
• Portability
• The key attributes of Object oriented
Programming:
Topics of the Review
Essentials of object-oriented programming, in Java
Java primitive data types, control structures, and
arrays
Using some predefined classes:
Math
JOptionPane, I/O streams
String, StringBuffer, StringBuilder
StringTokenizer
Writing and documenting your own Java classes
Some Salient Characteristics of
Java
Java is platform independent: the same program can
run on any correctly implemented Java system
Java is object-oriented:
Structured in terms of classes, which group data
with operations on that data
Can construct new classes by extending existing
ones
Java designed as
A core language plus
A rich collection of commonly available packages
Java can be embedded in Web pages
Java Processing and Execution
Begin with Java source code in text files: Model.java
A Java source code compiler produces Java byte code
Outputs one file per class: Model.class
May be standalone or part of an IDE
A Java Virtual Machine loads and executes class files
May compile them to native code (e.g., x86)
internally
Compiling and Executing a Java
Program