Threads cannot access variables from another class

后端 未结 0 1436
春和景丽
春和景丽 2020-12-14 18:51

I am using a scanner to get user (string) input. I the try to assign this user input to two separate threads. I am implementing Runnable then in a 3rd class called Database

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