I just want to know the difference between loading the data inside the constructor and loading the data outside the constructor but not inside any methods
example: Loading inside constructor
public class Model{
Object testobject;
public Model(){
testobject=new Object();
}
}
VS
example: Loading outside constructor
public class Model{
Object testobject=new Object();
public Model(){
}
}