Java Tutorial

import java.awt.*;
import java.applet.*;

public class passingPara extends Applet
       String str;
       int a,b,result;

      public void init(){

    public void paint(Graphics g){
          g.drawString(\" Result of Addition is : \"+str,0,15);

    Related Post:
  1. Define an array of ten String elements each containing an arbitrary string of the form “month/day/year”

  2. An applet program to draw concentric circle in center of the canvas

  3. Program to show the use of If Statement

  4. program which takes a long sentence from the client passes to the server,server separates out each word and sends them back to client in reverse order

  5. An applet program to find maximum of three numbers using textField

  6. Develop a game application in CORBA for which the player will guess a number between 1 to 100, which will be compared to the random number generated b

  7. An applet program to display barchart of given data

  8. Program to declare and initialize Integer variables and print them on the Standard Output Device

  9. Program to show the use of Logical or Boolean Negation i.e. NOT (!)

  10. Program sets up a String variable containing a paragraph of text of your choice. Extract the words from the text and sort them into alphabetical order

  11. Program to evaluate following investment equation V=P(1+R)^N

  12. Program to show the use of Logical OR Operator (|) in If Statements

  13. Program to declare, initialize and print a String object

  14. Socket program of HTTP Server

  15. Given a list of marks ranging form 0 to 100, write a program to compute and print the number of students marks

  16. Program to show the use of Bitwise Operator (&) AND

  17. An applet program to display Vertical Color Bar

  18. Program to show the use of Conditional OR Operator (||) in If Statements

  19. File Handling- JAVA

  20. Servlet which takes input from an HTML client page and calculates and outputs the premium amount

Didn't find what you were looking for? Find more on An applet program of passing parameters