

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This is outline for Java Network Programming provided by Krishna Amar at Delhi Technological University. It includes: Java, Feature, Tools, Classes, Browsers, Objects, Interfaces, Multithreading, Web, Programming
Typology: Summaries
1 / 2
This page cannot be seen from the preview
Don't miss anything!


What Is Java? Java as an Internet Language Java as a General-Purpose Language Applications and Applets Features of the Java Language Simple Object-Oriented Distributed Interpreted Robust Secure Architecture-Neutral Portable High-Performance Multithreaded Dynamic The Java Tools Compiler Interpreter Debugger Disassembler Header File Generator JavaDoc Applet Viewer
Java-Enabled Browsers HotJava Netscape Language Summary The package Statement The import Statement Comments Identifiers Reserved Words Primitive Data Types and Literal Values Class Declarations Variable Declarations Constructor Declarations Access Method Declarations Static Initializers Interfaces Blocks and Block Bodies Local Variable Declarations Statements o Empty Statement o Block Statement o Method Invocation o Allocation Statements o Assignment Statements o The if Statement o Statement Labels o The switch Statement o The break Statement
o The for Statement o The while Statement o The do Statement o The continue Statement o The synchronized Statement o The try Statement o The return Statement Classes and Objects Object-Oriented Programming Concepts o It's an Object-Oriented World o Composition and Reuse o Classes o Classification and Inheritance o Multiple Inheritance o Messages, Methods, and Object Interaction o Encapsulation o Polymorphism o Dynamic Binding Java Classes Class Syntax The Point Class Class Modifiers Extending Superclasses Adding Body to Classes Interfaces The Purpose of Java Interfaces The Benefits of Interfaces Declaring Interfaces Implementing Interfaces Using Interfaces as Abstract Types Interface Constants Extending Interfaces Combining Interfaces Exceptions Eliminating Software Errors Error Processing and Exceptions Throwing Exceptions Declaring Exceptions Declare or Catch? Using the try Statement Catching Exceptions Nested Exception Handling Rethrowing Exceptions Multithreading Understanding Multithreading How Java Supports Multithreading Creating Subclasses of Thread Implementing Runnable Thread States Thread Priority and Scheduling Synchronization Daemon Threads Thread Groups
Stream-Based Input/Output and the java.io Package
Streams The java.io Class Hierarchy The InputStream Class o The read() Method o The available() Method o The close() Method o Markable Streams o The skip() Method The OutputStream Class The write() Method The flush() Method The close() Method Byte Array I/O The ByteArrayInputStream Class The ByteArrayOutputStream Class The ByteArrayIOApp Program The StringBufferInputStream Class File I/O The File Class The FileDescriptor Class The FileInputStream Class The FileOutputStream Class The FileIOApp Program The SequenceInputStream Class The SequenceIOApp Program Filtered I/O The FilterInputStream Class The FilterOutputStream Class Buffered I/O PushbackInputStream The LineNumberInputStream Class Data I/O The PrintStream Class Piped I/O The RandomAccessFile Class The RandomIOApp Program The StreamTokenizer Class
Window Programming with the java.awt and javax.swing Packages
Window Programming Classes Components and Containers o The Container Class o The Window Class o The Panel Class o The Label Class o The Button Class o The Checkbox Class o The Choice Class o The List Class o The TextComponent Class o The Canvas Class o The Scrollbar Class Constructing Menus o The MenuBar Class o The MenuItem Class o The Menu Class
o The CheckboxMenuItem Class o The MenuContainer Class Organizing Windows o The LayoutManager Class o The BorderLayout Class o The CardLayout Class o The FlowLayout Class o The GridLayout Class o The GridBagLayout Class Handling Events Working with Images o The Color Class o The java.awt.image Package o The MediaTracker Class Geometrical Objects
o The Point Class o The Rectangle Class o The Polygon Class o The Dimension Class Using Fonts The FontMetrics Class Using the Toolkit Web Programming With the java.applet Package Applets and the World Wide Web o The Applet Class o Applets and HTML The Life Cycle of an Applet Responding to Events Using Window Components Adding Audio and Animation