20 lines
428 B
Java
20 lines
428 B
Java
/*
|
|
* TASK 10
|
|
* archived at https://git.femboy.science/femsci/ppj/src/branch/task/10
|
|
* by femsci
|
|
*/
|
|
|
|
package dev.pain;
|
|
|
|
public final class Computers {
|
|
|
|
public static void main(String[] args) {
|
|
CalculatingDevice[] arr = {
|
|
new Computer("Cray"),
|
|
new CalculatingDevice("Abacus"),
|
|
new Calculator("HP")
|
|
};
|
|
|
|
CalculatingDevice.printRes(arr, 21, 7);
|
|
}
|
|
}
|