(Java) How do I access an updated variable in a private static void method, from another class?

前端 未结 0 713
一生所求
一生所求 2020-12-06 08:36

If I have a class from a java file, called Fruit:

public class Fruit{
    public String shape;
    private static String choice;
    
    public class Fruit()         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题