- Type
- Highlighted handout
- Course
- CS506 Web Design and Development
- Size
- PDF 10.9 MB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 2, 3, 4 of 666. Download the file for all 666 pages.
1.1.1
Right Language, Right Time ................................................................................... 22
1.1.2
Java - Buzzwords (Vocabulary) .............................................................................. 22
1.1.3
Java -- Language + Libraries .................................................................................. 22
1.1.4
Simple ..................................................................................................................... 23
1.1.5
Object-Oriented ....................................................................................................... 23
1.1.6
Distributed / Network Oriented .............................................................................. 23
1.1.7
Robust / Secure / Safe ............................................................................................. 23
1.1.8
Portable ................................................................................................................... 24
1.1.9
Support for Web and Enterprise Web Applications ............................................... 24
- 1.10 High-performance ................................................................................................... 24
- 1.11 Multi-Threaded ....................................................................................................... 24
- 1.12 Dynamic .................................................................................................................. 24
- 1.13 Java Compiler Structure .......................................................................................... 24
- 1.14 Java: Programmer Efficiency .................................................................................. 25
- 1.15 Microsoft vs. Java ................................................................................................... 25
- 1.16 Java Is For Real ....................................................................................................... 25
- 1.17 References ............................................................................................................... 25
Lecture 2: Java Virtual Machine & Runtime Environment ............................. 26
2.1
Basic Concept ................................................................................................................. 26
2.1.1
Byte code ................................................................................................................ 26
2.1.2
Java Virtual Machine (JVM) .................................................................................. 27
2.1.3
Java Runtime Environment (JRE) .......................................................................... 27
2.1.4
2.2
Java Program Development and Execution Steps .......................................................... 28
2.2.1
Phase 1: Edit ........................................................................................................... 30
2.2.2
Phase 2: Compile .................................................................................................... 30
2.2.3
Phase 3: Loading ..................................................................................................... 30
2.2.4
Phase 4: Verify ........................................................................................................ 30
2.2.5
Phase 5: Execute ..................................................................................................... 31
2.2.6
- 3 Installation and Environment Setting ............................................................................... 31
2.3.1
Installation............................................................................................................... 31
2.3.2
Environment Setting ............................................................................................... 31
- 3.2.1 Temporary Path Setting .................................................................................................. 31
- 3.2.2 Permanent Path Setting ................................................................................................... 32
2.3.3
- 4 First Program in Java ....................................................................................................... 34
2.4.1
HelloWorldApp ....................................................................................................... 34
2.4.2
HelloWorldApp Described ..................................................................................... 35
2.4.3
Compiling and Running HelloWorldApp ............................................................... 35
2.4.4
Points to Remember ................................................................................................ 36
- 5 An Idiom Explained ....................................................................................................... 36 2.6
Lecture 3: Learning Basics ...................................................................................
3.1
Strings............................................................................................................................. 38
3.1.1
String Concatenation ............................................................................................... 38
3.1.2
Comparing Strings .................................................................................................. 38
3.2
Taking in Com mand Line Arguments ............................................................................ 39
3.3
Primitives vs. Objects ..................................................................................................... 40
3.4
Stack vs. Heap ................................................................................................................ 41
3.5
Wrapper Classes ............................................................................................................. 41
3.5.1
Wrapper Use ........................................................................................................... 42
3.5.2
Converting Strings to Numeric Primitive Data Types ............................................ 42
- 6 Selection & Control Structure ........................................................................................ 44 3.7 Reference: ....................................................................................................................... 44
Lecture 4: Object Oriented Programming .......................................................... 45
4.1
OOP Vocabulary Review ............................................................................................... 45
4.1.1
Classes .................................................................................................................... 45
4.1.2
Objects .................................................................................................................... 45
4.1.3
Constructor ............................................................................................................. 45
4.1.4
Attributes ................................................................................................................ 45
4.1.5
Methods .................................................................................................................. 45
4.2
Defining a Class .............................................................................................................. 45
4.3
4.4
Task - Defining a Student class ...................................................................................... 47
4.5
Getters / Setters .............................................................................................................. 47
4.6
Using a Class ................................................................................................................... 48
4.6.1
Task - Using Student Class ..................................................................................... 49
4.7
More on Classes .............................................................................................................. 50
4.7.1
Static ....................................................................................................................... 50
4.7.2
Garbage Collection & Finalize ............................................................................... 50
Related CS506 files
All CS506 files →- CS506 Midterm Solved MCQs by Junaid Midterm PDF 1.3 MB
- CS506 Quiz 3 Jan 2026 Set 2 Quiz PDF 34 KB
- CS506 Highlighted Handouts Set 3 Highlighted PDF 11.2 MB
- CS506 Handouts by VUBuddy Handout PDF 6.2 MB
- CS506 Highlighted Handouts Set 2 Highlighted PDF 15.6 MB
- CS506 Official Handouts Official handout PDF 5.6 MB Free
Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.