Java (eBook)
150 Seiten
Elsevier Science (Verlag)
978-0-08-050956-3 (ISBN)
Java: Practical Guide for Programmers is precisely that resource. Here, you won't have to wade through hundreds of pages of overly simplistic material to learn the basics of Java programming. Instead, you get highly focused instruction in the core elements of Java 1.4, accompanied by carefully chosen examples and line-by-line analyses that are right to the point. You'll be astonished at how soon you can begin productive coding in Java, and how quickly your skills will progress.
Web resources:
Source code from the book is no longer available at
http://www.zm.sikora.btinternet.co.uk/source.html
Please press the 'Companion Page' button on the upper right side of this page to access a zip file containing it.
Sun J2SE download page
http://java.sun.com/j2se/downloads.html
Sun J2SE API documentation
http://java.sun.com/j2se/1.4.1/docs/index.html
* Written expressly for people who already know a procedural or object-oriented programming language.
* Takes a concise approach designed to make the most of the experience you already have.
* Covers the core elements of Java 1.4, including language syntax, OO features, collections, exception handling, input/output, threads, event handling, and Swing components.
* Filled with incisive coding examples and line-by-line analyses.
* Via a companion Web site, provides downloadable example code and links to additional resources.
If you're an experienced programmer, you already have a rock-solid foundation for learning Java. All you need is a resource that takes your experience into account and explains Java's key principles and techniques in an intelligent, efficient way. Java: Practical Guide for Programmers is precisely that resource. Here, you won't have to wade through hundreds of pages of overly simplistic material to learn the basics of Java programming. Instead, you get highly focused instruction in the core elements of Java 1.4, accompanied by carefully chosen examples and line-by-line analyses that are right to the point. You'll be astonished at how soon you can begin productive coding in Java, and how quickly your skills will progress. - Written expressly for people who already know a procedural or object-oriented programming language. - Takes a concise approach designed to make the most of the experience you already have. - Covers the core elements of Java 1.4, including language syntax, OO features, collections, exception handling, input/output, threads, event handling, and Swing components. - Filled with incisive coding examples and line-by-line analyses.
Front Cover 1
Java Practical Guide for Programmers 4
Copyright Page 5
Contents 8
Preface 12
Chapter 1. Introduction 14
1.1 Simple Java Application 14
1.2 Java Tools 17
1.3 Language Features 18
Chapter 2. Basic Language Syntax 20
2.1 Comments 21
2.2 Statements 21
2.3 Variables 22
2.4 Constants 22
2.5 Data Types 23
2.6 Arithmetic Operations 30
2.7 Data Type Conversion 31
Chapter 3. Flow Control 34
3.1 Conditional Statements 34
3.2 Relational and Logical Operators 39
3.3 Iteration Statements 41
Chapter 4. Classes and Objects 46
4.1 Class and Object with No Methods 46
4.2 Class with Methods 48
4.3 Constructors 50
4.4 Method Overloading 52
4.5 Argument Passing in Java 52
4.6 Instance and Static Variables 55
4.7 Instance and Static Methods 57
4.8 this Keyword 58
4.9 StringBuffer 59
4.10 Vectors 60
4.11 Object Wrappers 60
Chapter 5. Inheritance and Access Control 62
5.1 Creating Subclasses 62
5.2 The Object Class 66
5.3 Abstract Classes and Methods 70
5.4 Interfaces 72
5.5 Packages 73
5.6 Access Control 76
5.7 Inner Classes 80
Chapter 6. Exceptions 84
6.1 Exception Handling 84
6.2 Java Exception Classes 87
6.3 Creating Exception Classes 88
6.4 Propagation of Exceptions 89
6.5 Runtime Exceptions 92
6.6 Assertions 93
Chapter 7. Input/Output 96
7.1 Terminal I/O Example 98
7.2 FileReader and FileWriter Streams 99
7.3 FileInputStream and FileOutputStream 105
7.4 Buffered Input and Output Streams 106
7.5 DataInputStream and DataOutputStream 108
7.6 Random Access Fries 111
7.7 Object Serialization 114
Chapter 8. Developing GUIs 120
8.1 Introduction 120
8.2 Swing Components 121
8.3 Component Methods 128
8.4 Swing Containers 130
8.5 Layouts 133
8.6 Specifying Look and Feel 136
8.7 Event Handling 137
8.8 Painting with Swing 142
8.9 CustomerDetails Example 143
8.10 Applets 148
Chapter 9. Collections 156
9.1 Set Interface 156
9.2 List Interface 164
9.3 Map Interface 165
9.4 The Collections Class 167
Chapter 10. Threads 170
10.1 The Thread Class 170
10.2 Multithreaded Application Example 171
10.3 Thread Priorities 173
10.4 The Runnable Interface 173
10.5 Synchronizing Threads 177
10.6 Thread States 179
Appendix A: Operator Precedence 180
Appendix B: Swing Events 182
Index 186
Erscheint lt. Verlag | 7.1.2003 |
---|---|
Sprache | englisch |
Themenwelt | Informatik ► Programmiersprachen / -werkzeuge ► Java |
Informatik ► Software Entwicklung ► Objektorientierung | |
Mathematik / Informatik ► Informatik ► Web / Internet | |
Informatik ► Weitere Themen ► Hardware | |
ISBN-10 | 0-08-050956-8 / 0080509568 |
ISBN-13 | 978-0-08-050956-3 / 9780080509563 |
Haben Sie eine Frage zum Produkt? |
Kopierschutz: Adobe-DRM
Adobe-DRM ist ein Kopierschutz, der das eBook vor Mißbrauch schützen soll. Dabei wird das eBook bereits beim Download auf Ihre persönliche Adobe-ID autorisiert. Lesen können Sie das eBook dann nur auf den Geräten, welche ebenfalls auf Ihre Adobe-ID registriert sind.
Details zum Adobe-DRM
Dateiformat: PDF (Portable Document Format)
Mit einem festen Seitenlayout eignet sich die PDF besonders für Fachbücher mit Spalten, Tabellen und Abbildungen. Eine PDF kann auf fast allen Geräten angezeigt werden, ist aber für kleine Displays (Smartphone, eReader) nur eingeschränkt geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen eine
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen eine
Geräteliste und zusätzliche Hinweise
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.
aus dem Bereich