I am trying to compile following program and it is giving me error
"general.java:8: '.class' expected
gg.takeit(new Hashmap(), long 18L); "
Can somebody tell me what is wrong in the below program?
class general
{
public static void main(
String[] args)
{
System.out.println("Hello World! general");
general gg = new general ();
gg.takeit(new Hashmap(), long 18);
}
public void takeit( Hashmap dd , long ee)
{
System.out.println("long value is "+ee);
}
}