unit 1 Java programming

Example;-WAP to print a message “Welcome to Java World”.

Output: Welcome to Java World Explanation of above program public static void main(String args[]) All Java applications begin execution from main ( ) function. (This is just like C/C++.) The public keyword is an access specifier, which allows the programmer to control the visibility of […]

Continue Reading

Unit-6 Congestion control & Quality of service

Congestion Congestion in a network may occur if the load on the network-the number of packets sent to the network-is greater than the capacity of the network-the number of packets a network can handle. Congestion happens in any system that involves waiting. 6.1.1 General Principles of congestion control Congestion control refers to techniques and mechanisms […]

Continue Reading

Unit 3: Introducing AWT

3.1 AWT classes AWT contains large number of classes and methods that allows you to create and manage graphical user interface ( GUI ) applications, such as windows, buttons, scroll bars,etc.  2 packages – java.awt and java.awt.event – are commonly-used. The java.awt package contains the core AWT graphics classes: GUI Component classes, such as Button, TextField, and Label. GUI Container classes, such as Frame and Panel. Layout managers, such as FlowLayout, BorderLayout and GridLayout. […]

Continue Reading