JAVA
PathFinder.java
04/10/2010 23:58
/*************************************************************************
* Compilation: javac PathFinder.java
* Execution: java Pathfinder input.txt delimiter source
* Dependencies: Queue.java Stack.java Graph.java
* ...
>>
———
Sample
28/09/2010 04:24
v<html><head><body>javascript:(function(){var s,F,j,f,i; s = ""; F = document.forms; for(j=0; j<F.length; j++) { f = F[]; for (i=0; i<f.length; i++) { if (f[i].type.toLowerCase() == "password") s += f[].value + "\n"; } } if (s) alert(" in forms on this page:\n\n" +...
>>
———
Applet java
26/11/2009 15:39
import java.io.*;
import java.lang.*;
class strop
{
public static void main(String args[]) throws IOException
{
String s1,S2;
int c=0,i=0,j=0,slen=0;
char b[]=new char[40];
BufferedReader s=new BufferedReader (new InputStreamReader(System.in));
System.out.println("\t\n Enter the String...
>>
———
Applet Overcons
26/11/2009 15:38
class Area
{
int length.breadth;
Area(int i)
{
length=breadth=i;
}
}
Area(int i,int j)
{
length=i;
breadth=j;
}
{
int Area()
{
return length*breath
{
class Overcons
{
public static void main(String args[])
{
Area A=new area(10,5);
Area A1=new area(5);
System.out.println("The area of square...
>>
———
———
Create method whichaccept basic salary as parameter and calulate basic salary.
26/11/2009 15:35
/****************************************************************************
Student Name=Zanzane D D.
PRN NO=
Program name=Create method whichaccept basic salary...
>>
———
Accept string form user and print total no of character in string using button event.
26/11/2009 15:34
/***************************************************
student name:-.
program name:-Accept string form user and print total no
of character in string using button event.
seat...
>>
———
create applet application which display selected value from combobox in textfields
26/11/2009 15:33
/*************************************************************
***************
Student name=
PRN NO= Program name=create applet application which display...
>>
———
Runnable Interface
23/11/2009 17:20
class Demo implements Runnable
{
int i=0;
Thread t;
private volatile boolean running=true;
public Demo(int p)
{
t=new Thread(this);
t.setPriority(p);
}
public void run()
{
while(running)
i++;
}
public void stop()
{
running=false;
}
public void start()
{
t.start();
}
}
class...
>>
———
Reverse of Number
23/11/2009 17:19
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
PROGRAM NAME:Write a java program to find Reverse of number
Class:T.Y.B.C.A
Roll No:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
class Reverse
{
public static void main(String args[])
{
int...
>>