Java Blog

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 to read input from the Standard Input Device

  2. Program to show an example of Polymorphism

  3. Program to convert the given temperature in faherenhiet to celsius using the following conversion formula C= F- 32/1.8

  4. RMI application for getting the final total price of the shopping list with some of the following items and quantities chosen by the user

  5. Program to show the use of For Loop

  6. An applet program to draw Polygon Graph with given data

  7. Program in CORBA which takes a long sentence from client (at least 7 words), passes to the server, server separates out each word and sends back

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

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

  10. An applet program to perform selection sort

  11. Program to show an example of searching Strings for characters

  12. Program to copy the elements of an array into another array in reverse order and print them

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

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

  15. Program to show the comparing of Strings for equality

  16. Program to show an example of Multiple Levels of Inheritance

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

  18. Program to ask question and accept answer up to 3 attempt and display right answer if it is wrong

  19. CORBA program for displaying the date and time of the server machine, client machine and the difference between these two date and time

  20. Program to print some text on the same line using multiple print statements

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