class employee
{
int id;
String name;
int salary;
}
class employeeManager
{
public void ExceptInputOutput()
{
}
}
I have declared the variable in employee class & want to use that variable to the method ExceptInputOutput() of employeeManager class where both of the class are not main class. Main class will call the method of employeeManager class. Now how can I use the variable id, name & salary to ExceptInputOutput() method.