Dumps Java Programming
Dumps Java Programming
class Cafe
{
public int cafe=0;
public Cafe(String test){
cafe=9;
}
public Cafe(){ }
}
class RoomArea
{ float length;
float breadth;
void getData(float a, float b)
{ length=a;
breadth=b;
}
}
public class Multiple
{ public static void main(String s[])
{ float area;
RoomArea room=new RoomArea();
room.getData(15,5);
area=room.length * room.breadth;
System.out.println("Area: " +
area);
}
}
public class tests
{ int a;
tests()
{
System.out.println("I am default
constructor");
}
public static void main(String s[])
{
tests t1=new tests();
}
}
}
}
class Main
{
public Main()
{ System.out.println("Calling ASE");
}