Java attribute cannot be assigned in constructor

后端 未结 0 1238
梦如初夏
梦如初夏 2020-12-03 12:59

I am trying to pass a value to an attribute of the class that I created in Java but it just won\'t work.

Here is my code :

// Landscape Class

public c         


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