View Code? Open in Web Editor
NEW
Solutions to the exercises of the book "Java - A Beginner's Guide" seventh edition by Herbert Schildt
Home Page: http://www.oracle.com/events/global/en/java-outreach/resources/java-a-beginners-guide-1720064.pdf
Dockerfile 0.56%
Shell 0.02%
Java 99.42%
java-a-beginners-guide-herbert-schildt's People
Contributors
Watchers
java-a-beginners-guide-herbert-schildt's Issues
Tasks
Cover the following topics:
Introducing Data Types and Operators
TODO:
- Find out whether sharing of SDK files with and IDE is possible;
- If yes, configure it;
Program Control Statements
TODO:
- Prepare the docker container that runs java 9;
- Add and compile a sample java class;
Enumerations, Autoboxing, Static Import, and Annotations
TODO:
Using I/O
TODO:
Using the Byte Steams
Reading Console Input
Writing Console Output
Reading and Writing Files Using Byte Streams
Inputting from a File
Automatically Closing a File
Reading and Writing Binary Data
A File Comparison Utility
Random-Access Files
Using Java's Character-Based Streams
Console Input Using Character Streams
Console Output Using Character Streams
File I/O Using Character Streams
Using a FileWriter
Using a FileReader
Using Java's Type Wrappers to Convert Numeric Strings
Createting a Disk-Based Help System
Self Test
Inheritance
TODO:
Ihneritance Basics
Member Access and Inheritance
Constructors and Inheritance
Using super to Call Superclass Constructors
Using super to Access Superclass Members
Extending the Vehicle Class
Creating a Multilevel Hierarchy
When Are Constructors Executed?
Superclass References and Subclass Objects
Method Overriding
Overridden Methods Support Polymorphism
Applying Method Overriding to TwoDShape
Using Abstract Classes
Using final
Using final with Data Members
Self Test
More Data Types and Operators
TODO:
Lambda Expressions and Method References
TODO:
Packages and Interfaces
TODO:
Packages
A Short Package Example
A Package Access Example
Understanding protected members
Importing Packages
Implementing Interfaces
Using Interface References
Creating a Queue Interface
Varibles in Interfaces
Interfaces Can Be Extended
Default Interface Methods
Default Method Fundamentals
A More practical Example of a Default Method
Use static Methods in an Interface
Private Interface Methods
Self Test
Exception Handling
TODO:
The Exception Hierarchy
A Simple Exception Example
The Consequences of an Uncaught Exception
Exceptions Enable You to Handle Errors Gracefully
Using Multiple catch Statements
Catching Subclass Exceptions
Try Blocks Can Be Nested
Throwing an Exception
Rethrowing an Exception
A Closer Look at Throwable
Using finally
Using throws
Three Additional Exception Features
Creating Exception Subclasses
Adding Exception to the Queue Class
A Closer Look at Methods and Classes
TODO:
Controlling Access to Members
Pass Objects to Methods
Returning Objects
Method Overloading
Overloading Constructors
Recursion
Understanding static
Introducing Nested and Inner Classes
Varargs: Variable-Length Arguments
Overloading Varargs Methods
Varargs and Ambiguity
Self Test
Multithreaded Programming
TODO:
Creating a Thread
Extending Thread
Creating Multiple Threads
Determining When a Thread Ends
Thread Priorities
Using Synchronized Methods
The synchronized Statement
Thread Communication Using notify(), wait(), and notifyAll()
An Example That Uses wait() and notify()
Suspending, Resuming, and Stopping Threads
Using the Main Thread
Self Test
Introducing Classes, Objects, and Methods
TODO: