Cannot use the replication function of spring?

package com.example.demo.prototype;

import org.springframework.beans.BeanUtils;

public class Player {
    private String name;
    private String age;
    private String email;
    private Integer ff;

    public Player() {
        //    Utils.setDefaultFiled(this);

    }


    @Override
    public String toString() {
        return "Player{" +
                "name="" + name + "\"" +
                ", age="" + age + "\"" +
                ", email="" + email + "\"" +
                ", ff=" + ff +
                "}";
    }


    public static void main(String[] args) throws InstantiationException, IllegalAccessException {
        Player player = new Player();
        player.age = "234";
        player.name = "asd";
        player.email = "qq";
        player.ff = 34;
        Player player2 = new Player();
        BeanUtils.copyProperties(player, player2);
        BeanUtils.copyProperties(player2, player);
        System.out.println(player2.toString());
        System.out.println(player.toString());
    }
}
Player {name="null", age="null", email="null", ff=null}
Player {name="asd", age="234", email="qq", ff=34}

Process finished with exit code 0

Mar.30,2021
Try the

private attribute with getter and setter methods, and the first parameter should be the target object.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e9485e-472a0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e9485e-472a0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?