Skip to content

Instantly share code, notes, and snippets.

View AnatoliiStepaniuk's full-sized avatar
🐢

Anatolii Stepaniuk AnatoliiStepaniuk

🐢
View GitHub Profile
package com.tutorial.main;
import java.awt.Canvas;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.image.BufferStrategy;
import java.util.Random;
package com.rubaka.students_arraylist;
import java.util.ArrayList;
import java.util.List;
public class Main
{
public static void main( String[] args )
{
package com.rubaka.students_arraylist;
public class Student
{
private String firstName;
private String lastName;
private int age;
private double weight;
private char profession;