The Java™ Programming Language - Ken Arnold, James Gosling

The Java™ Programming Language

Buch | Softcover
464 Seiten
1998 | 2nd edition
Addison Wesley (Verlag)
978-0-201-31006-1 (ISBN)
45,85 inkl. MwSt
  • Titel ist leider vergriffen;
    keine Neuauflage
  • Artikel merken
Co-written by the creator of the Java programming language, this book serves as a guide to Java 1.1/1.2.
Third Edition now available! Co-authored by the creator of the Java technology and an experienced object-oriented developer, The JavaTM Programming Language, Second Edition, is the definitive resource for all serious Java programmers. This book will give you a solid foundation in Java programming language strategies and techniques. It features a concise introduction to the language; detailed descriptions of Java's commands, constructs, and libraries; and numerous real-world examples that show you how to exploit the language's power, portability, and flexibility. You will find in-depth and progressively advanced coverage of classes and objects, interfaces, exception-handling, threads and multitasking, and packages. In addition, the book describes the Java core library packages, including I/O, standard utilities, language types, and system classes. Thoroughly revised from start to finish, this second edition fully integrates Java 1.1 into both text and examples. This edition includes the changes introduced in Java 1.1
, such as nested classes (including anonymous classes), threading issues, character-based streams, object-serialization, documentation comments, new utility classes, plus internationalization and localization. The book lets you in on the rationale behind Java's design, direct from the language's creator, as well as the tradeoffs involved in using specific features. With these insights, you will have the understanding you need to begin developing Java applications and applets. 0201310066B04062001

Ken Arnold, formerly senior engineer at Sun Microsystems Laboratories, is a leading expert in object-oriented design and implementation. He was one of the original architects of the Jini™ technology, and the lead engineer of Sun's JavaSpaces™ technology. James Gosling is a Fellow and Chief Technology Officer of Sun's Developer Products group, the creator of the Java programming language, and one of the computer industry's most noted programmers. He is the 1996 recipient of Software Development's "Programming Excellence Award." He previously developed NeWS, Sun's network-extensible window system, and was a principal in the Andrew project at Carnegie Mellon University, where he earned a Ph.D. in computer science.

1. A Quick Tour of Java. Getting Started. Variables. Comments in Code. Named Constants. Unicode Characters. Flow of Control. Classes and Objects. Creating Objects. Static or Class Fields. The Garbage Collector. Methods and Parameters. Invoking a Method. The this Reference. Static or Class Methods. Arrays. String Objects. Extending a Class. Invoking Methods from the Superclass. The Object Class. Interfaces. Exceptions. Packages. The Java Platform. Other Topics Briefly Noted. 2. Classes and Objects. A Simple Class. Fields. Access Control and Inheritance. Creating Objects. Constructors. Methods. Parameter Values. Using Methods to Control Access. this. Overloading Methods. Static Members. Initialization Blocks. Garbage Collection and finalize. finalize. Resurrecting Objects During finalize. Nested Classes and Interfaces. Local Inner Classes. main. The to String Method. Native Methods. 3. Extending Classes. An Extended Class. What protected Really Means. Constructors in Extended Classes. Constructor Order Dependencies. Overriding Methods, Hiding Fields and Nested Classes. The super Keyword. Marking Methods and Classes final. The Object Class. Anonymous Classes. Abstract Classes and Methods. Cloning Objects. Extending Classes: How and When. Designing a Class to Be Extended. 4. Interfaces. An Example Interface. Single Inheritance versus Multiple Inheritance. Extending Interfaces. Name Conflicts. Implementing Interfaces. Using an Implementation. Marker Interfaces. When to Use Interfaces. 5. Tokens, Operators, and Expressions. Character Set. Comments. Tokens. Identifiers. Java Keywords. Primitive Types. Literals. Object References. Boolean. Integers. Floating-Point Numbers. Characters. Strings. Class Literals. Declarations of Variables. Using final for Variables. The Meanings of Names. Array Variables. Arrays of Arrays. Initial Values. Array Initializers. Operator Precedence and Associativity. Order of Evaluation. Expression Type. Type Conversions. Implicit Conversion. Explicit Casts and instance of. String Conversions. Member Access. Arithmetic Operators. Integer Arithmetic. Floating-Point Arithmetic. Java Floating-Point Arithmetic and IEEE-754. String Concatenation. Increment and Decrement Operators. Relational, Equality, and Logical Operators. Bitwise Operators. The Conditional Operator? Assignment Operators. Package Names. 6. Control Flow. Statements and Blocks. if-else. switch. while and do-while. for. Labels. break. continue. return. What, No go to? 7. Exceptions. Creating Exception Types. throw. The throws Clause. try, catch, and finally. finally. When to Use Exceptions. 8. Strings. Basic String Operations. String Comparisons. Utility Methods. Making Related Strings. String Conversions. Strings and char Arrays. Strings and byte Arrays. The String Buffer Class. Modifying the Buffer. Getting Data Out. Capacity Management. 9. Threads. Creating Threads. Synchronization. synchronized Methods. synchronized Statements. wait and notify. Details of wait and notify. Thread Scheduling. Deadlocks. Ending Thread Execution. The End of a Thread's Life. Waiting For a Thread to Complete. Don't stop. Suspending Threads. Ending Application Execution. Using Runnable. volatile. Thread Security and Thread Group. Debugging Threads. 10. Packages. Package Naming. Package Access. Package Contents. 11. Documentation Comments. Paragraphs. @see. @param. @return. @exception. @deprecated. @author. @version. @since. An Example. Notes on Usage. 12. The I/O Package. Byte Streams. Input Stream. Output Stream. Character Streams. Character Streams and the Standard Streams. Reader. Writer. Summary of I/O Types. Input Stream Reader and Output Stream Writer. Filter Streams. Print Streams. Buffered Streams. Byte Array Byte Streams. Char Array Character Streams. String Character Streams. File Streams and File Descriptor. Piped Streams. Sequence Input Stream. Line Number Reader. Pushback Streams. Stream Tokenizer. Data Byte Streams. The Data Stream Classes. Random Access File. The Object Byte Streams. Making Your Classes Serializable. Serialization and Deserialization Order. Customized Serialization and Externalizable. Object Versioning. The Externalizable Interface. The File Class. Filename Filter. The IO Exception Classes. 13. Standard Utilities. Bit Set. Enumeration. Implementing an Enumeration Interface. Vector. Stack. Dictionary. Hashtable. Properties. Observer/Observable. Random. String Tokenizer. 14. Programming with Types. Wrapper Classes: An Overview. Void. Boolean. Character. Number. The Integer Wrapper Classes. The Floating-Point Wrapper Classes. Reflection. Class. Examining Classes. Field. Method. Creating New Objects and Constructor. Arrays. Loading Classes. Loading Related Resources. 15. System Programming. Standard I/O Streams. Memory Management. System Properties. Creating Processes. Runtime. Miscellaneous. Security. Math. 16. Internationalization and Localization. Locale. Resource Bundles. List Resource Bundle. Property Resource Bundle. Subclassing Resource Bundle. Time, Dates, and Calendars. Calendars. Time Zones. Gregorian Calendar and Simple Time Zone. Formatting and Parsing Dates and Times. 17. Standard Packages. java.text - Internationalization and Localization for Text. Collation. Formatting and Parsing. Text Boundaries. java.awt-The Abstract Window Toolkit. java.applet-Applets. java.rmi-Remote Method Invocation. java.beans-Java Components. java.net-The Network. java.math-Mathematics. java.sql - Relational Database Access. java.security - Security Tools. Appendix A. Runtime Exceptions. Runtime Exception Classes. Error Classes. Appendix B. Useful Tables. Table 1: Keywords. Table 2: Operator Precedence. Table 3: Unicode Digits. Table 4: Unicode Letters and Digits. Table 5: Special Characters Using /. Table 6: Documentation Comment Tags. Further Reading.

Erscheint lt. Verlag 9.2.1998
Verlagsort Boston
Sprache englisch
Maße 186 x 233 mm
Gewicht 677 g
Themenwelt Informatik Programmiersprachen / -werkzeuge Java
Mathematik / Informatik Informatik Web / Internet
ISBN-10 0-201-31006-6 / 0201310066
ISBN-13 978-0-201-31006-1 / 9780201310061
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
mit über 150 Workouts in Java und Python

von Luigi Lo Iacono; Stephan Wiefling; Michael Schneider

Buch (2023)
Carl Hanser (Verlag)
29,99
Einführung, Ausbildung, Praxis

von Christian Ullenboom

Buch | Hardcover (2023)
Rheinwerk (Verlag)
49,90