Let us begin
Introduction
Histroy of Java, Computer, Computing, and your Text Book
"Java How To Program" What is the subject matter? Java or How to Program?
Programming
Data Structures
constructs used to represent data types that are appropriate for a particular problem e.g. int, array, link list
is Java class a data structure ?
Algorithm
is a sequence of logical steps required to perform a task e.g. sorting
Analysis and Design
Making the right decision
Decision Table and Flow Chart
Structure thought process
systematic; step-wise refinement; divide and conquer; and (pseudo code)
Unified Modeling Language OOD diagrams:
Class
Object
Component
Deployment
Satechart
Activity
Collaboration
Sequence
Use Case
Programming Language/Compiler is only a tool
Language translation
the compilation process
source code -> compiler -> assembly code -> assembler -> machine code
have syntax (form) and semantics (meaning)
Natural language
add 5 to the variable cnt
Java/C/C++ language
cnt = cnt + 5;
Assembly language
LDA CNT;ADDA#5;STA CNT
Machine language
B62000;8B05;B72000
Typical Java environment
Integrated Development Environments (IDEs)
MS Visual J++, Symantec's Visual Cafe, Borland's JBuilder, and IBM's Visual Age.
Previou page
Next page