First Commit

This commit is contained in:
2023-09-19 22:07:16 +03:00
commit 5e4b81c90d
35 changed files with 1092 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
package org.lumijiez;
public class User {
public String firstName, lastName;
public User(String firstName, String lastName) {
this.firstName = firstName;
this.lastName = lastName;
}
public static void printInitials(User user) {
System.out.print(user.firstName.charAt(0) + ". " + user.lastName.charAt(0) + ". \n");
}
}