Fundamentals of Object-Oriented Programming in Java

Permanand Mohan

  • 出版商: CreateSpace Independ
  • 出版日期: 2013-02-28
  • 售價: $1,670
  • 貴賓價: 9.5$1,587
  • 語言: 英文
  • 頁數: 476
  • 裝訂: Paperback
  • ISBN: 1482587521
  • ISBN-13: 9781482587524
  • 相關分類: Java 程式語言Object-oriented
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

This book aims to present the concepts and techniques of object-oriented programming as simply as possible so that it can be easily understood and mastered by beginners. The emphasis is on presenting concepts at the right time and with the right amount of detail to encourage learning and mastery of the material. The book does not focus on the Java programming language; rather, Java is used as a vehicle to implement the object-oriented concepts presented in the book. To help readers become familiar with the Java programming language, the book starts off by describing the basic features of the language. These include data types and variables, arrays, control structures (if, while, for, etc.), and performing input and output. Several exercises have been carefully designed so that readers can get up to speed with Java as quickly as possible. The book strikes a good balance between theory and practice. Some object-oriented concepts often require lengthy explanations for beginners to fully understand the concepts. Based on years of experience in teaching object-oriented programming, the book condenses long explanations in favour of providing real examples which show how the concepts are implemented in an object-oriented program. Thus, detailed code examples are liberally interspersed with theoretical descriptions throughout the book. One of the unique features of the book is that it contains five chapters (called “Programming Projects”) which explain how to build a complete object-oriented program based on the material presented in the other chapters. These chapters appear when all the relevant material required for writing the program has been thoroughly discussed in the preceding chapters. Each of the five chapters starts by describing the problem in narrative form. The chapter then gives a detailed definition of the functionality required. Next, the chapter explains how the functionality can be implemented using the object-oriented concepts presented earlier in the book. The chapter ends with a complete working Java program that solves the problem described. Often, alternative solutions are presented so that readers will be aware that there are competing ways to implement an object-oriented program with different trade-offs. Another unique feature of the book is that that new material is not used or referenced before it has been discussed. The book is essentially incremental in nature so that new concepts being introduced always build on earlier concepts. Thus, readers are only exposed to new concepts or language features when pre-requisite material has been completely discussed. Also, great care has been taken to avoid the use of programming language features which, though very useful for advanced programmers, can make it harder for a beginner to focus on and learn the object-oriented principles being imparted. This book is based on the experience gained from many years of teaching object-oriented programming to beginners who know another programming language. It is likely to benefit readers who are looking for a good, practical introduction to object-oriented programming in Java, in an easy-to-understand format.

商品描述(中文翻譯)

這本書旨在以盡可能簡單的方式介紹面向對象編程的概念和技術,以便初學者能夠輕鬆理解和掌握。重點是在適當的時間和適量的細節上呈現概念,以鼓勵學習和掌握材料。本書不專注於Java編程語言;相反,Java被用作實現本書中介紹的面向對象概念的工具。為了幫助讀者熟悉Java編程語言,本書首先描述了語言的基本特性。這些包括數據類型和變量、數組、控制結構(if、while、for等)以及輸入和輸出操作。為了讓讀者能夠盡快掌握Java,本書精心設計了幾個練習題。本書在理論和實踐之間取得了良好的平衡。對於初學者來說,一些面向對象的概念通常需要冗長的解釋才能完全理解。基於多年教授面向對象編程的經驗,本書縮短了冗長的解釋,而是提供了實際示例,展示了這些概念如何在面向對象程序中實現。因此,詳細的代碼示例在整本書中與理論描述交替出現。本書的一個獨特之處在於它包含了五個章節(稱為“編程項目”),這些章節解釋了如何基於其他章節中介紹的材料構建一個完整的面向對象程序。這些章節在前面的章節中徹底討論了撰寫該程序所需的所有相關材料後出現。這五個章節中的每一個都以敘述形式描述問題。然後,該章節給出了所需功能的詳細定義。接下來,該章節解釋了如何使用本書中先前介紹的面向對象概念來實現功能。該章節以一個完整的可運行的Java程序結束,該程序解決了所描述的問題。通常,還會提供其他解決方案,以使讀者了解有不同取捨的不同實現面向對象程序的方法。本書的另一個獨特之處在於在討論之前不使用或引用新材料。本書基本上是增量的,新概念的引入始終建立在早期概念的基礎上。因此,只有在先決材料完全討論完畢後,讀者才會接觸到新的概念或語言特性。此外,我們非常注意避免使用對於高級程序員非常有用但可能使初學者難以專注和學習面向對象原則的編程語言特性。本書基於多年教授面向對象編程給已經了解其他編程語言的初學者的經驗。對於尋找一本易於理解的、實用的Java面向對象編程入門的讀者來說,這本書可能會有所幫助。