Im making a basic program that creates an object with certain attributes, and it works fine, but I need to load it as a independent program itself, so I created another class called Lanzador, which calls the constructor from the other class so that it can create the objects.
Im new to this so I dont really know what I'm doing here:
public class Lanzador
{
public static void main(String args[]) {
TipodeTirada tirada = new TipodeTirada(String,String,int,String,boolean,int,boolean);
}
}
The problem is that I dont know how to really do this, since it still gives me an "int.class" expected.
What should I do so that when I start the program it lets me input the attributes (stirng, int, etc) ?
Thanks a lot.