By Ramakrishna on Dec 17, 2008 in Thread Tutorial | 0 Comments
MultiTasking :
There are two types of executing the statements in MultiTasking.
Executing several task at a time by the microprocessor is called MultiTasking.
In MultiTasking the processor time is utilized in an optimum way
The 2 type of MultiTasking are as follows.
(i) Process Based MultiTasking :
In this several programs are executed by the Microprocessor using RoundRobin Method.
(ii) [...]
By Ramakrishna on Dec 17, 2008 in JAVA UTIL QUESTIONS | 0 Comments
When a new Socket is created new port number should be allocated.
When the service on the same socket is changed, a new port number should be alloted.
Note :- Some alloted port numbers :
port no. Application
13 Date and time Services
21 FTP,Which transfers files
23 Telnet,Which provides remote login
25 SMTP,Which delivers mail messages
67 BOOTP,Which provides configuration at boot [...]
By Ramakrishna on Dec 17, 2008 in Java Important Notes | 0 Comments
The unique ID number alloted to a socket is called Port Number
By Ramakrishna on Dec 17, 2008 in StreamTokenizer | 0 Comments
Stream Tokenizer :
StreamTokenizer is a direct subclass of Object class. StreamTokenizer is included in java.io. Package. The StreamTokenizer class takes an input stream and parses it into “tokens” , allowing the tokens to be read one at a time. The parsing process is controlled by a table and a number of flags ( like [...]