ppj/dev/pain/Computers.java

21 lines
428 B
Java
Raw Permalink Normal View History

2024-06-24 23:29:29 +02:00
/*
* 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);
}
}