Professional Documents
Culture Documents
Intro To JAVA Programming: Sana Khalique
Intro To JAVA Programming: Sana Khalique
Lecture 01
By
Sana Khalique
1
Introduction
Pre-requisite:
Introduction to Programming + Object Oriented
Programming
Office hours:
Friday 10:30 a.m. to 1:00 p.m.
Recommended Books and Other Material
Text Book
Java How To Program, Fifth Edition
by Deitel & Deitel
5 Introduction to Java
Quizzes and Assignments
Quizzes
Quizzes will generally be unannounced
You can expect a quiz every week
Missing a quiz means zero marks
A Quiz may also be conducted at anytime during the
lecture
Assignments
DO NOT copy assignments
Both of the copy cases will be graded zero
NO credit on LATE submission of any deliverable.
No excuse of USB/Floppy/email servers not working
Sorry! No Exceptions
Lab Work and Project
Lab Work
Involves implementation of studied techniques and
structures.
All the coding will be done in Java
Each lab will comprise of a lab exercise to be
submitted during the same lab time (2 Hrs.)
Lab assignments will also be given to be submitted
individually
Project
You will be required to do a project after your One
Hour exam
You will have full liberty to choose any application of
your choice but your project proposals should reach
my office by the 1st week after your OHT
Grading
5% Assignments
10% Quiz
10% Course Project
30% OHT’s
45% Final
8 Introduction to Java
Lets Start the Course
Evolution of Java
Earlier Programming : Fortran, BASIC, Pascal,
Cobol
The Birth of Modern Programming: C
Object Oriented Programming : C++
JAVA
C#
10 Introduction to Java
Strengths Of JAVA
Simple
Compared to C++:
no header files, macros, pointers and references, unions,
operator overloading, templates, etc.
Pure Object Oriented - Classes + Inheritance
Platform Independent - Windows, Linux, Solaris
Secure - Type-safety + access control
Distributed - RMI, Servlet, Distributed Object Programming
Multi Threaded
No Memory Constraints
(Garbage collection)
11 Introduction to Java
JDK Editions
Java Standard Edition (J2SE)
J2SE can be used to develop client-side standalone
applications or applets.
http://java.sun.com/javase/6/download.jsp
Java Enterprise Edition (J2EE)
J2EE can be used to develop server-side applications
such as Java servlets and Java ServerPages.
12
Java IDE Tools
NetBeans IDE http://www.netbeans.info/downloads/index.php
JCreator
Borland Jbuilder
KAWA
Eclipse
13
Java Virtual Machine (JVM)
14 Introduction to Java
Compiling and Executing a Java
Program