package mypack;
class condisp1
{
condisp1()
{
System.out.println("no parameters");
}
condisp1(int i)
{
System.out.println("value of i is"+i);
}
condisp1(int k,int j)
{
System.out.println("value of k is"+k);
System.out.println("value of j is"+j);
}
}
class classpack1
{
public static void main(String args[])
{
condisp1 a=new condisp1(5);
condisp1 b=new condisp1(2,1);
condisp1 c=new condisp1();
}
}
Subscribe to:
Post Comments (Atom)
MY HIT COUNTER
Blog Archive
-
▼
2009
(38)
-
▼
November
(27)
- few programs on bank project
- customer identification number
- bank programs
- min balance program in oracle
- cards balance
- real time programs in bank project
- real time registration example
- Creation of tables in oracle
- practice quries
- quries
- reverse number
- throws exception
- throws exception
- divide by zero
- array index
- length of a string name
- no parameters to string
- print two parameters
- abstract class in core java
- inside area of rectangle
- area of rectangle
- three string parameters
- class b extends a
- incremeting numbers
- sum of three parameters
- box program
- strings
-
▼
November
(27)
Custom Search
No comments:
Post a Comment