CH01.FM - 1 C HAPTER 1 I NTRODUCTION TO C OMPUTERS AND J...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 1 C HAPTER 1 I NTRODUCTION TO C OMPUTERS AND J AVA O BJECTS I NTRODUCTION TO C OMPUTERS AND J AVA O BJECTS 1.1 C OMPUTER B ASICS 3 A Short History of Computers 3 Hardware and Memory 5 Programs 8 Programming Languages and Compilers 9 Java Byte-Code 10 Linking 13 1.2 I NTERNET B ASICS 13 The Internet and The World Wide Web 14 History of The Internet 14 Privacy on The Internet 15 1.3 D ESIGNING P ROGRAMS 16 Object-Oriented Programming 17 Encapsulation 18 Polymorphism 19 Inheritance 20 If You Know Some Other Programming Language 20 Algorithms 21 Reusable Components 23 Testing and Debugging 23 Gotcha Coping with Gotchas 24 Gotcha Hidden Errors 24 1.4 A T ASTE OF J AVA 25 History of the Java Language 25 Applets and the Internet 26 A First Java Application Program 26 Java Spelling Rules 33 Java Tip Java is Case Sensitive 34 Compiling a Java Program or Class 34 Running a Java Program 36 Preview Examples of Applets (Optional) 37 Chapter Summary 40 Glossary 41 Answers to Self-Test Questions 46 Programming Exercises 48 I NTRODUCTION TO C OMPUTERS AND J AVA I NTRODUCTION TO C OMPUTERS AND J AVA 1 I n this chapter, we give you a brief overview of computer hardware and software. Our discussion of software will include a description of a methodology for designing programs known as object-oriented programming . Much of this introductory materi- al applies to programming in any language, not just to programming in Java. In Sec- tion 1.4, we specialize this introduction to the Java language and explain two simple Java programs. An optional section at the end of this chapter gives some sample ap- plets, a kind of Java program that can be run from an Internet website. Objectives Give you a brief overview of computer hardware and software. Introduce you to the basic techniques of program design in general and Object-oriented programming in particular....
View Full Document

This note was uploaded on 04/29/2010 for the course CS 5503 taught by Professor Kaylor during the Spring '10 term at W. Alabama.

Page1 / 50

CH01.FM - 1 C HAPTER 1 I NTRODUCTION TO C OMPUTERS AND J...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online