Having Student Class.
Class Student{
String _name;
....
....
public Student(){
}
}
is there any possibility to add dyn
Although you can do that with some tricky, and complex way that others have suggested..
But you can sure have your attributes in some data structure(An appropriate one will be a Map).. Since you can modify your existing attributes, so can be done with you Data Structure. You can add more attributes to them.. This will be a better approach..