Java Class: How to call and use a class from another class?
December 15, 2010 Leave a comment
In my last post I have discussed about Float Type variable and how to add two float type variable.
Here I will share you about how to use and call a class from another class in Java.
Here is the example:
void getdata(float a, float b)
public static void main(String args)
Room room1=new Room();