Java Software Solutions, AP Version - John Lewis, William Loftus, Cara Cocking

Java Software Solutions, AP Version

Buch | Hardcover
672 Seiten
2003
Addison Wesley (Verlag)
978-0-201-88259-9 (ISBN)
117,10 inkl. MwSt
  • Titel erscheint in neuer Auflage
  • Artikel merken
This text provides an introduction to both the Java programming language and the techniques for writing high-quality programs. It takes an object-oriented approach that progresses naturally - first using objects, then writing classes.
This book teaches beginners how to create well-designed software using Java and prepares them for both the A and AB advanced placement tests in Java. KEY TOPICS: With a focus on object-oriented programming, teaching objects first and then writing classes, the authors identify the material, within an introduction to Java and a case study, that will be featured on the AP tests. MARKET: Any student preparing to take the AP test in Java.

Computer systems: introduction - basic computer processing, software categories, digital computers, binary numbers; hardware - hardware components, computer architecture, input/output devices, main and secondary memory, the central processing unit; networks - network connections, local-area and wide-area networks, the Internet, the world wide web, uniform resource locators, the Internet versus the world wide web; programming - problem solving, the Java programming language, a Java program, comments, identifiers and reserved words, white space; programming languages - programming language levels, compilers and interpreters, syntax and semantics, errors, language evolution; graphics - coordinate systems, representing colour. Objects and primitive data: introduction to objects; using objects - the print and print, LN methods, abstraction; string literals - string concatenation, escape sequences; variables and assignment - variables, 72, the assignment statement, constants; primitive data types and expressions - integers and floating points, characters, Booleans; arithmetic expressions - operator precedence, data conversion; creating objects - the string class; class libraries and packages - the import declaration, the random class; invoking class methods - the math class, the keyboard class; formatting output - the number, format class, the decimal, format class; an introduction to applets - executing applets using the web; drawing shapes - the graphics class, the colour class. Program statements: program development; control flow; the if statement - equality and relational operators, the if-else statement, using block statements, nested if statements; the switch statement; Boolean expressions revisited - logical operators, comparing characters and strings, comparing floats; more operators - increment and decrement operators, assignment operators, the conditional operator; the while statement - infinite loops, nested loops, the string, tokenizer class, other loop controls; the do statement - the for statement, comparing loops; program development revisited; drawing using conditionals and loops. Writing classes: objects revisited - classes; anatomy of a class - instance data, UML diagrams, encapsulation and visibility modifiers; anatomy of method - the return statement, parameters, constructors, local data; method overloading; method decomposition; object relationship - association, association between objects of the same class, aggregation; applet methods; graphical objects. Enhancing classes: references revisited - the null reference, the this reference, aliases, garbage collection, passing objects as parameters; the static modifier - static variables, static methods; wrapper classes; keyboard input revisited - nested classes, inner classes; interfaces - the comparable interface, the iterator interface; dialog boxes; graphical user interfaces - essential GUI elements, creating GUIs. (Part contents).

Erscheint lt. Verlag 30.6.2003
Verlagsort Harlow
Sprache englisch
Maße 211 x 257 mm
Gewicht 1374 g
Themenwelt Informatik Programmiersprachen / -werkzeuge Java
Mathematik / Informatik Informatik Web / Internet
ISBN-10 0-201-88259-0 / 0201882590
ISBN-13 978-0-201-88259-9 / 9780201882599
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