How do I assign a variable in my subclass that was initialized in my main class?

后端 未结 0 1452
走了就别回头了
走了就别回头了 2020-12-15 06:20

Suppose I have the following class:

public class User {
private boolean verified = false; //initial value of false
} 

Another class:



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