The Java Tutorial: Object-oriented Programming for the InternetFollow you own path to expertise with this self-guided tour for the Java programming language. Written by two members of the JavaSoft team at Sun, the book employs a hands-on interactive approach to teaching Java basics, object-oriented concepts, applet programming and everything else you need to know to become a proficient Java programmer. Through plentiful examples and skill-building exercises, The Java Tutorial introduces you to fundamental concepts and applications. Designed so that you can customize your own path through the specific information you need to learn, the book explains the nuts and bolts of the language, applet construction, and the core Java classes. You will also learn about more advanced topics such as creating a user interface with Java, threads programming, working with Java's networking and security capabilities, and adding non-Java libraries to Java applications. The accompanying CD-ROM contains the tutorial and all its code samples, the Java Developers Kit (JDK), and code for all the winning applets in the Java International Programming Contest as well as developer tools from MetroWerks, SunSoft, Symantec, and others. |
From inside the book
Results 1-3 of 57
Page 516
... server have agreed to use to communicate . The server is the first to speak , with these lines of code : outputLine = kks . processInput ( null ) ; os.println ( outputLine ) ; os.flush ( ) ; The first line of code gets from the KKState ...
... server have agreed to use to communicate . The server is the first to speak , with these lines of code : outputLine = kks . processInput ( null ) ; os.println ( outputLine ) ; os.flush ( ) ; The first line of code gets from the KKState ...
Page 517
... server use to communicate . This class keeps track of where the client and the server are in their conversation and serves up the server's response to the client's state- ments . The KKState object contains the text of all the jokes and ...
... server use to communicate . This class keeps track of where the client and the server are in their conversation and serves up the server's response to the client's state- ments . The KKState object contains the text of all the jokes and ...
Page 519
... server , you will see the following text displayed on your screen : Server : Knock ! Knock ! Now , you must respond with : Who's there ? The client echos what you type and sends the text to the server . The server responds with the ...
... server , you will see the following text displayed on your screen : Server : Knock ! Knock ! Now , you must respond with : Who's there ? The client echos what you type and sends the text to the server . The server responds with the ...
Contents
Getting Started | 1 |
Writing Java Programs 27 3 | 27 |
End of Trail | 143 |
Copyright | |
17 other sections not shown
Common terms and phrases
action allow animation applet application args argument array boolean browser Button catch character client compiler component connection constructor contains create default defines display drawing error event example exception explained extends false filter final Frame function Graphics handle implements import indicates initialization input instance interface IOException Java Java programs java.lang Label language layout manager lesson loaded look loop Menu native method Note null object occurs operator package paint Panel parameter passed perform port problem Producer properties provides public void rectangle reference requires runtime server shows socket SOURCE CODE specify standard statement static stop stream String subclass thread throws tion true variable wait window write