mirror of
https://github.com/ASDjonok/OOP_IO-2x_2023.git
synced 2026-04-01 21:21:50 +03:00
16 lines
316 B
Java
16 lines
316 B
Java
package test;
|
|
|
|
public class Main {
|
|
public static void main(String[] args) {
|
|
A a = new A();
|
|
System.out.println(a.getF());
|
|
a.setF(1);
|
|
System.out.println(a.getF());
|
|
|
|
System.out.println(a.f);
|
|
|
|
int[] array = {1, 2, 1};
|
|
System.out.println(array.length);
|
|
}
|
|
}
|