Object-Oriented Programming, A First Simple Program, A Second Short Program, Using Blocks of CodeLexical Issues, The Java Class Libraries. Data Types, Variables, and Arrays: Java Is a Strongly TypedLanguage, The Primitive Types, A Closer Look at Literals, Variables, Type Conversion and casting, AutomaticType promotion in Expression, Arrays, A few words about Strings. Operators: Arithmetic Operators, TheBitwise Operators, Relational Operators Boolean Logical Operators, The Assignment Operator, The ? Operator,Operator Precedence, Using Parentheses. Control Statements: Java’s Selection, Iteration Statements, JumpStatements.
Class Fundamentals, Declaring Objects, Assigning Object Reference Variables Introducing Methods,Constructors, The this Keyword, Garbage, The finalize( ) Method A Stack Class.A Closer Look at Methods and Classes: Overloading Methods, Overloading Constructors, Using Objects asParameters, A Closer Look at Argument Passing, Returning Objects, Recursion, Introducing Access Control,Understanding static, Introducing final, Arrays Revisited, Introducing Nested and Inner Classes, Exploringthe String Class, Using Command-Line Arguments, Varargs
Inheritance Basics, Using super, Using super Creating a Multilevel Hierarchy, When Constructors Are Called,Method Overriding, Dynamic Method Dispatch, Using Abstract Classes, Using final with Inheritance, TheObject Class. Packages and Interfaces: Packages, Access Protection, An Access Example Importing Packages,Interfaces. Exception Handling: Exception-Handling Fundamentals, Exception Types, Uncaught ExceptionsUsing try and catch, Multiple catch Clauses, Nested try Statements, throw, throws, finally, Java’s Built-inExceptions, Creating Your Own Exception Subclasses, Chained Exceptions, Using Exceptions.
The Java Thread Model, The Main Thread, Creating a Thread, Creating Multiple Threads, Using isAlive( ) andjoin( ), Thread Priorities, Synchronization, Interthread Communication, Suspending, Resuming, and StoppingThreads, Using Multithreading.Input/Output: Exploring java.io: The Java I/O Classes and Interfaces, File, The Closable and FlushableInterfaces, The Stream Classes, The Byte Streams, The Character Streams, The Console Class, Using StreamI/O, Serialization, Stream Benefits.
Enumeration, Type Wrappers, Autoboxing. Generics: What are Generics?, A Simple Generics Example, AGenerics Class with two Type Parameters, The General Form of a Generic Class. String Handling: The StringConstructors, String Length, Special String Operations, Character Extraction, String Comparison, SearchingStrings, Modifying a String, Data Conversion Using valueOf( ), Changing the Case of Characters Within aString, Additional String Methods, StringBuffer, String Builder.
Primitive Type Wrappers, System, Object, Class, Class Loader, Math, Thread, ThreadGroup, Runnable,Throwable. The Collections Framework: Collections Overview, The Collection Interfaces, The List Interface,The Queue Interface, The Collection Classes, The ArrayList Class, The LinkedList Class, The HashSet, TheTreeSet Class.
Networking Basics, The Networking Classes and Interfaces InetAddress, TCP/IP Client Sockets, URL,URLConnection, HTTP URL Connection, TCP/IP Server Sockets, Cookies, Inet4Address and Inet6Address,The URI Class, RMI.
The Applet Class, Event Handling: Two Event Handling Mechanisms, The Delegation Event Model, EventClasses, Sources of Events, Event Listener Interfaces, Using the Delegation Event Model, Adapter Classes,Inner Classes.Swing: Introducing Swing, Exploring Swing.