Is it ok to declare multiple instance variables (Has-A relationships with other classes) in a singleton class?
class Singleton {
private static Singleton obj;
Student student;
School school;
private Singleton() {}
public static Singleton getInstance() {
    if (obj==null)
        obj = new Singleton();
    return obj;
 }
}
