NameUpdate

This commit is contained in:
2024-09-17 08:45:27 +02:00
parent 74e421aa7e
commit 9534ee8156
5 changed files with 0 additions and 0 deletions

View File

@ -0,0 +1,12 @@
package com.oop;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner read = new Scanner(System.in);
int a = read.nextInt();
Pupil pupil = new Pupil();
pupil.setAge(a);
}
}