出版时间:2003-8 出版社:机械工业出版社 作者:加赛德 页数:626
Tag标签:无
内容概要
本书专为没有编程经验的学生编写,是一本使用Java语言进行面向对象编程的入门书籍。作者以对象的使用为起点,逐步讲解了如何编写对象和理解继承,面向对象设计的重要性,直至如何独立建立一个面向对象的系统。这种教学形式有助于学生在对象模型方面打下坚实的基础。
本书覆盖了Java语言的所有重要方面,包括使用Java标准库中的类,以及作者定义的比较容易理解和消化的类。此外,书中还专门介绍了Java语言的高级方面,包括GUI、applet。输入/输出以及基本的数据结构,使学生在编写Java程序时可以使用多种工具。
作者简介
作者:(英国)加赛德(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
章节摘录
版权页:插图: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.
编辑推荐
《Java教程(英文版)(第2版)》为经典原版书库之一。
图书封面
图书标签Tags
无
评论、评分、阅读与下载