Article archive
———
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...
>>
———
To generate Exception
23/11/2009 17:19
/*******************************************************************
Program name:Write a java program to generate exception
Roll no:16
*******************************************************************/
import java.lang.*;
import java.lang.Exception;
class MyException extends...
>>
———
Over
23/11/2009 17:18
class Area
{
void area(int i)
{
int a=i*i;
System.out.println("Area of square is:"+a);
}
void area(int i,int j)
{
int a2=i*j;
System.out.println("Area of rectangle is:"+a2);
}
void area(float r)
{
double a3=3.14*r*r;
System.out.println("Area of circle is:"+a3);
}
}
class Over
{
public static...
>>
———
Hybrid
23/11/2009 17:18
/*******************************************************************
Program name:Write a java program to multilevel with hybrid
inheritance
Roll...
>>
———
Throws2
23/11/2009 17:18
/*******************************************************************
Program name:Write a java program to demonstrating throws
Roll no:12
*******************************************************************/
import java.io.*;
class Program2
{
public static void main(String...
>>