Predict the output:
public class declaration
{
int id;
string name;
String topic = "college";
void access(int i, string s)
{
id = i;
name = s;

}
void display()
{
System.out.println(id+" "+name+" "+topic);
}

public static void main(String[] args)
{
declaration M=new declaration();
declaration M1=new declaration();
M.display();
M1.display();

}

}

Posted on by