two examples of android classes are shown below, they are utility classes that do not extend Activity.
what is the advantage of using example 1, and why is it better than example 2?
example 1
public class SKR {
String[] code;
String[] sub_code;
public SKR(){
code = new String[87];
sub_code = new String[87];
}
}
example 2
public class SKR {
String[] code = new String[87];
String[] sub_code = new String[87];
public SKR(){
}
}