class con1
{
con1()
{
System.out.println("no parameters");
}
con1(int a)
{
System.out.println("single parameter"+a);
}
con1(int a,double b)
{
System.out.println("two parameters"+a+" "+b);
}
con1(int a,float b)
{
System.out.println("three parameters"+a+" "+b);
}
}
class co
{
public static void main(String args[])
{
con1 x=new con1();
con1 x1=new con1(5);
con1 x2=new con1(5,6.5);
con1 x3=new con1(55,7.5);
}
}
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