flut d'octet
This commit is contained in:
21
DEV2.1/CM1/Duplication.java
Normal file
21
DEV2.1/CM1/Duplication.java
Normal file
@@ -0,0 +1,21 @@
|
||||
import java.util.Arrays;
|
||||
|
||||
public class Duplication{
|
||||
private double[] tab;
|
||||
|
||||
public Duplication(){
|
||||
this.tab = new double[10];
|
||||
Arrays.fill(this.tab,5.8);
|
||||
}
|
||||
|
||||
public String toString(){
|
||||
System.out.print(Arrays.toString(this.tab));
|
||||
System.out.println();
|
||||
return "";
|
||||
}
|
||||
|
||||
public static void main (String[] args){
|
||||
Duplication tab = new Duplication();
|
||||
tab.toString();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user