Rewrite the following constructors,so the first one calls the second one
package classone;
class ClassOne {
private int alpha;
private int beta;
public ClassOne ( int alpha ){
this.alpha=alpha ;
this.beta=0;
}
public ClassOne( int alpha, int beta){
this.alpha=alpha;
this.beta=beta;
}
}
ياااريت توريني الحل بس اهم شي تشرحلي الطريقهـ ...
______________________________________________
Define a student class . A Student has a name .Define two
constructors , one with no argument and another with the name as its argaument . initialize tje name to a default value Unknown for the zero - argument constructor .
وهذا السوال الثاني صراح مافهمت وش المطلوب من السوال ياريت تشرحلي اهم شي طريقت حل كل سوال ومع حله وراااح اكون ممنون لكـ!!