introduction to java programming, 8th edition

756 3.9K 0
introduction to java programming, 8th edition

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... three editions: Java Standard Edition (Java SE), Java Enterprise Edition (Java EE), and Java Micro Edition (Java ME) Java SE can be used to develop client-side standalone applications or applets Java EE can be used to develop server-side applications, such as Java servlets and JavaServer Pages Java ME can be used to develop applications for mobile devices, such as cell phones This book uses Java SE to. .. console (§1.7) ■ To explain the basic syntax of a Java program (§1.7) ■ To create, compile, and run Java programs (§1.8) ■ (GUI) To display output using the JOptionPane output dialog boxes (§1.9) 2 Chapter 1 Introduction to Computers, Programs, and Java 1.1 Introduction why Java? You use word processors to write documents, Web browsers to explore the Internet, and email programs to send email These... server to generate dynamic Web pages The automatic grading system for this book, as shown in Figure 1.7, was developed using Java Enter this URL from a Web browser FIGURE 1.7 Java was used to develop an automatic grading system to accompany this book 10 Chapter 1 Introduction to Computers, Programs, and Java Java is a versatile programming language You can use it to develop applications on your desktop... 716 717 721 INTRODUCTION TO JAVA TM PROGRAMMING This page intentionally left blank CHAPTER 1 INTRODUCTION TO COMPUTERS, PROGRAMS, AND JAVA Objectives ■ To review computer basics, programs, and operating systems (§§1.2–1.4) ■ To explore the relationship between Java and the World Wide Web (§1.5) ■ To distinguish the terms API, IDE, and JDK (§1.6) ■ To write a simple Java program (§1.7) ■ To display output... B MySQL Tutorial C Oracle Tutorial D Microsoft Access Tutorial E Introduction to Database Systems F Relational Database Concept G Database Design H SQL Basics I Advanced SQL Part V Web Programming Supplements A HTML and XHTML Tutorial B CSS Tutorial C XML D Java and XML E Tomcat Tutorial F More Examples on JSF and Visual Web Development Preface xiii Instructor Resource Materials The instructor resources... browser for playing a Tic Tac Toe game Enter this URL from a Web browser FIGURE 1.6 A Java applet for playing TicTacToe is embedded in an HTML page Tip For a demonstration of Java applets, visit java. sun.com/applets This site provides a rich Java resource as well as links to other cool applet demo sites java. sun.com is the official Sun Java Website Java can also be used to develop applications on the... elementary GUI chapters Java Development Tools IDE tutorials You can use a text editor, such as the Windows Notepad or WordPad, to create Java programs and to compile and run the programs from the command window You can also use a Java development tool, such as TextPad, NetBeans, or Eclipse These tools support an integrated development environment (IDE) for rapidly developing Java programs Editing, compiling,... components: ■ Automatic Grading System: It can automatically grade exercises from the text or created by instructors ■ Quiz Creation/Submission/Grading System: It enables instructors to create/modify quizzes that students can take and be graded upon automatically ■ Tracking grades, attendance, etc: The system enables the students to track grades and instructors to view the grades of all students, and to track... Using Packages to Organize the Classes in the Text Part II IDE Supplements A TextPad Tutorial B NetBeans Tutorial | One Page Startup Instruction C Learning Java Effectively with NetBeans D Eclipse Tutorial | One Page Startup Instruction E Learning Java Effectively with Eclipse Part III Java Supplements A Java Characteristics B Discussion on Operator and Operand Evaluations C The & and | Operators D Bitwise... Java SE to introduce Java programming There are many versions of Java SE The latest, Java SE 6, will be used in this book Sun releases each version with a Java Development Toolkit (JDK) For Java SE 6, the Java Development Toolkit is called JDK 1.6 (also known as Java 6 or JDK 6) JDK consists of a set of separate programs, each invoked from a command line, for developing and testing Java programs Besides . This Edition? This edition substantially improves Introduction to Java Programming, Seventh Edition. The major improvements are as follows: ■ This edition is completely revised in every detail to. Taipei Tokyo Prentice Hall Vice President and Editorial Director, ECS: Marcia J. Horton Editor in Chief, Computer Science: Michael Hirsch Executive Editor: Tracy Dunkelberger Assistant Editor:.

Ngày đăng: 28/04/2014, 15:43

Từ khóa liên quan

Mục lục

  • Cover

  • Copyright

  • CONTENTS

  • Chapter 1 Introduction to Computers, Programs, and Java

    • 1.1 Introduction

    • 1.2 What Is a Computer?

    • 1.3 Programs

    • 1.4 Operating Systems

    • 1.5 Java, World Wide Web, and Beyond

    • 1.6 The Java Language Specification, API, JDK, and IDE

    • 1.7 A Simple Java Program

    • 1.8 Creating, Compiling, and Executing a Java Program

    • 1.9 (GUI) Displaying Text in a Message Dialog Box

    • Chapter 2 Elementary Programming

      • 2.1 Introduction

      • 2.2 Writing Simple Programs

      • 2.3 Reading Input from the Console

      • 2.4 Identifiers

      • 2.5 Variables

      • 2.6 Assignment Statements and Assignment Expressions

      • 2.7 Named Constants

      • 2.8 Numeric Data Types and Operations

Tài liệu cùng người dùng

Tài liệu liên quan