update
This commit is contained in:
16
DEV.2.1/CM1/ex2/Excquis.java
Normal file
16
DEV.2.1/CM1/ex2/Excquis.java
Normal file
@@ -0,0 +1,16 @@
|
||||
/*Emmanuel SRIVASTAVA-TIAMZON*/
|
||||
|
||||
public class Excquis {
|
||||
private String[] tab;
|
||||
|
||||
public Excquis(String[] tab) {
|
||||
this.tab = tab;
|
||||
}
|
||||
|
||||
public String toString(String[] randomTab) {
|
||||
indiceRandom = nextInt(this.tab.length());
|
||||
|
||||
for(this.tab[indiceRandom] :
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user