I want to pass void parameter to another void method. For example;
public void WriteItem(ParameterItem())
{
System.out.println("1");
ParameterItem();
System.ou.println("2");
}
//In Another Class
public void ParameterItem()
{
System.out.println("ABC");
}
I want this: 1 ABC 2