package jvm;

import java.util.Arrays;

public class VarHandleDemo {

    public int publicVar =1;
    protected int protectedVar =2;
    private int privateVar =3;
    public int[] publicArrayData ={1,2,3};

    @Override
    public String toString() {
        return STR."VarHandleDemo{publicVar=\{publicVar}, protectedVar=\{protectedVar}, privateVar=\{privateVar}, arrayData=\{Arrays.toString(publicArrayData)}}";
    }
}
