The value of the local variable is not used

后端 未结 2 2002
予麋鹿
予麋鹿 2021-01-29 16:29

all of the variables above have the warning in the title. Could you please tell me why that is happening?

public class DataTypes {
    public static void main(St         


        
2条回答
  •  感动是毒
    2021-01-29 16:46

    The variables you declared are never used, only assigned to, therefore you're being warned.

提交回复
热议问题