|
Chapter 1: Getting Started with Java It just wouldn’t be a programming class if I didn’t start with the “Hello, World” application. In Chapter 1, you will learn what all the hype is aboutwith Java. Chapter 2: Java Fundamentals This chapter covers the fundamentals of Java, such as keywords, the built-in data types, strings, variables, references, and arithmetic operators. The information in this chapter establishes the foundation for the remainder of Java in 60 Minutes A Day,
so take your time and make sure you understand everything. Chapter 3: Control Structures - In this chapter, you will learn the various control structures in Java and the details of how to use them, including if/else, switch, do/while, and if statements. I will also cover Boolean operators and the truth tables. Chapter 4: Classes and Objects - In my opinion, this is the most important chapter in the book, whether or not you are new to object-oriented programming (OOP). Java is purely objectoriented, so to be a Java programmer is to understand classes and objects. Chapter 5: Methods - he behaviors of an object becomes methods in a class. By Chapter 5, you will be familiar with writing classes, so it’s time to discuss all of the details about writing and invoking Java methods. Chapter 6: Understanding Inheritance - bject-oriented programming has four major aspects: inheritance, encapsulation, polymorphism, and abstraction. This chapter focuses on the most important of the four: inheritance. Chapter 7: Advanced Java Language Concepts - In this chapter, I tie up some loose ends and discuss the details of some of the more advanced topics of Java. Topics covered in this chapter include packages, Introduction xxv the access specifiers, encapsulation, static fields and methods, and the javadoc tool. Chapter 8: Polymorphism and Abstraction - olymorphism is the capability of an object to take on different forms. Abstraction refers to the use of abstract classes, classes that cannot be instantiated. Chapter 9: Collections - fter eight days of building a foundation for programming in Java, you will now be ready to start using some of the many Java APIs that compose the Java 2 Platform, Standard Edition (J2SE) Chapter 10: Interfaces - The Java language contains the concept of interfaces, which allow you to create data types based on a set of behaviors. Chapter 11: Exception Handling - xception handling is a built-in feature of Java, and you need to know how to catch an exception before continuing further in the book. This chapter discusses the two types of exceptions: runtime and checked. Chapter 12: Introduction to GUI Programming - ow, we get to the fun part of Java: GUI (graphical user interface) programming. I am still impressed with the ability to be able to write a GUI program that runs on different operating systems. Chapter 13: GUI Components and Event Handling - There is a lot of information in creating GUIs and handling the events of the components, so I separated the topics into two days. In this chapter, you will learn how to handle the events from the GUIs you created in the previous chapter. Chapter 14: Applets - An applet is a Java program that runs in a Web browser. Applets are actually GUI containers, so you will be writing applets in no time, knowing what you learned in the previous two chapters. Chapter 15: Threads - Java has built-in support for threads. In this chapter, I will discuss the details of multithreaded Java applications, including how to write and start a thread, the life cycle of a thread, and a discussion of synchronization. Chapter 16: Input and Output - he java.io package contains some great classes for performing just about any type of input and output you will need to perform in a Java program. Chapter 17: Network Programming - By this point in the book, you will begin to realize how Java simplifies common programming tasks, allowing you to focus on the problem at hand, and this chapter is yet another example. Chapter 18: Database Programming - In this chapter, I will show you how to write a Java program that connects to a Java database. Chapter 19: JavaBeans - A JavaBean is a software component written in Java. A software component is a reusable piece of software designed to be “plugged in” to an application, allowing for easier code reuse and faster application development. Download free java ebook: Wiley Publishing-Java in 60 Minutes A Day
|