Java Tutorial

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

public class DynamicString extends Applet
        String str;
        public void init()
            if (str==null)
            str=\"Hello\" + str;

        public void paint(Graphics g)

    Related Post:
  1. Write a program for restaurant

  2. Program to show an example of using user-defined package in a program

  3. Program to show the use of If-Else Statement

  4. Program of insertion sort

  5. File handling program to display directory contents

  6. Program to perform Merge Sort

  7. Program to Concat Strings

  8. Create an interface coversions. Which have the following functions Inchestomillimeters(), hptowatts(),wattstohp(),poundstogram(),gramtopounds()

  9. corba program of client and a DNS server where given a URL the server sends back an IP address

  10. Write a class whose objects holds a current value and have a method to add that value, printing the new value

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

  12. Program to show the use of Switch Statement for the same statement for several different case labels

  13. Program to show insertion of StringBuffer, String objects and other Basic Data Types into a StringBuffer object

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

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

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

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

  18. Encrypt the text that you want to send on the client side. The server side decrypts it after receiving. Append server time after each word in the sent

  19. Program that reads and writes random access file

  20. Application which takes your marks of six subjects from the client side and displays the percentage that you have obtained

Didn't find what you were looking for? Find more on An applet program that creates string dynamically and displays it