Java: Today's Programming Language, Paperback/Joslyn A. Smith

Java: Today's Programming Language, Paperback/Joslyn A. Smith

Editura
An publicare
2016
Nr. Pagini
518
ISBN
9780997817218

Descriere

Chapter 1 - Computer Systems This chapter discusses the computer system, in terms of the hardware and software components. In terms of hardware system, the discussion centers around -the central processing unit; the primary memory; the input/out devices; the secondary storage devices; and communication devices. For the software system, the discussion centers on the - systems software, processing programs, and the generations of programming languages. The chapter closes with a sneak preview of a Java program. Chapter 2 - Classes and Objects This chapter introduces the concept of object oriented programming through discussion on our everyday experiences. The first half of the chapter focuses purely on observation and discussion, the second half formalizes the discussion into Java codes. Two program development tools are introduced - Unified Modeling Language (UML), and algorithm development. Chapter 3 - Program Development This chapter furthers the discussion on how to analyze problems, design classes that accurately reflect the problem, and develop UML solution before coding the programs. Chapters 4 - Data Types This chapter takes an in-depth look at data types - both primitive types and reference types. It discusses the importance of data types as they relate to writing programs. In relation to the primitive types, the chapter also focuses on the types of arithmetic operations that can be performed on the different numeric types. It also highlights incompatibilities between types, and also ways one type can be converted to another type. With regards to reference types, attention is drawn to the java. lang package, and some of its classes including the wrapper classes. Chapter 5 - Input - Output Operations This chapter discusses various ways of inputting data into a program during its execution. We also use the JOption Pane class to develop a class solely for reading data. To enhance the look and feel of the output, we not only used the class JOption Pane, but we also u

Pe aceeași temă