Java教程

出版社:机械工业出版社
出版日期:2003-8
ISBN:9787111126065
作者:加赛德
页数:626页

章节摘录

版权页:插图:A computer itself has no intelligence. As you will see, all it can do is follow a rather detailed set of instructions. A program is simply a detailed set of instructions in a suitable format that tells the computer how to carry out a task. For example, a programmer writing a word-processing program has to specify how the computer is to deal with text typed in by the user, how to format the text as a series of lines of characters, how to change the format according to instructions from the user, how to check the spelling of each word against a dictionary of valid words, how to pass the text to a printer to produce a printed version, and so on.Nowadays, there are computer programs in places you might not expect. A modern washing machine contains one or more small computers or processors, which control the sequence of operations carried out by the machine according to the instructions of the user and the state of the wash (Is the machine full of water? Is it at the right temperature? Has the user specified a long spin cycle? and so on). Similarly, a car has several processors to control the ignition system according to the state of the engine, to check that the seat belts are used correctly, and so on. Each of the processors in these embedded systems follows a program, or set of instructions, specifying in detail how the system should react to any particular combination of input information sensed by the processor.

内容概要

作者:(英国)加赛德(Roger Garside) (英国)马瑞尼(John Mariani)

书籍目录

Part 1 Using Objects  1 Programming and the Java Language  2 Object Orientation  3 Declaring Objects and Calling Methods  4 Selecting Among Alternatives  5 Repetition  6 Basic Java Data TypesPart 2 Writing ObjectsPart 3 Advanced ObjectsPart 4 Advanced JavaPart 5 Object-Oriented DesignPart 6 AppendixesIndex

编辑推荐

《Java教程(英文版)(第2版)》为经典原版书库之一。

作者简介

《Java教程(英文版)(第2版)》专为没有编程经验的学生编写,是一本使用Java语言进行面向对象编程的入门书籍。作者以对象的使用为起点,逐步讲解了如何编写对象和理解继承,面向对象设计的重要性,直至如何独立建立一个面向对象的系统。这种教学形式有助于学生在对象模型方面打下坚实的基础。《Java教程(英文版)(第2版)》覆盖了Java语言的所有重要方面,包括使用Java标准库中的类,以及作者定义的比较容易理解和消化的类。此外,书中还专门介绍了Java语言的高级方面,包括GUI、applet、输入/输出以及基本的数据结构。使学生在编写Java程序时可以使用多种工具。《Java教程(英文版)(第2版)》特点:逐步介绍Java语言类的使用,书的前几章介绍输入/输出以及一组作者定义的工具以帮助刚开始学习Java的学生。第19章使用来自java.io包的类,重点介绍Java的输入和输出。第11章让学生有机会综合所学到的概念和技巧,从构建类开始设计一个taskorganizer程序。第12章详细介绍继承的概念,让学生在准备学习其他高级的面向对象概念的同时,理解和掌握对象模型中继承的重要性。第20章介绍applet的创建和使用。第五部分讨论面向对象的设计,包括方法学以及案例分析,引导学生遍历开发过程的各个阶段。

图书封面


 Java教程下载



发布书评

 
 


 

外国儿童文学,篆刻,百科,生物科学,科普,初中通用,育儿亲子,美容护肤PDF图书下载,。 零度图书网 

零度图书网 @ 2024