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. Program of binary search tree

  2. Program to show an example of getting at characters in a String

  3. Program of insertion sort

  4. Program to read input from the Standard Input Device

  5. An applet program that displays random dot

  6. GUI application in java, which enter the details of a student and on the submit display the details of the student

  7. Program to show the use of Conditional AND Operator (&&) in If Statements

  8. Program to append a StringBuffer by StringBuffer, String objects and other Basic Data Types

  9. Program to show an example of creating String objects from Character Arrays

  10. Program of UDP datagram

  11. Program to compare Strings by compring successive corresponding characters, starting with the first character in each String

  12. Program that accepts a shopping list of five items from the command line and stores them in vector

  13. Socket program of HTTP Server

  14. Program to determine the sum of the following harmonic series for a given value of n

  15. Program to display bank account

  16. Program to show the use of Increment and Decrement Operators

  17. Program to show an example of Concatination of Strings

  18. 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

  19. Program to read the ballots and count the votes cast for each candidate using an array variable count

  20. Corba program of UDP client server application which sends the news to the client. Server takes the news from the NewsDataFile located at the server

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