(判断题) It is legal to declare variables of the same name ina function even though they are in the same block.Select one:a.falseb.trueYou cannot use the private modifier on classes.Select one:a.falseb.true
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/23 22:40:58
(判断题) It is legal to declare variables of the same name ina function even though they are in the same block.Select one:a.falseb.trueYou cannot use the private modifier on classes.Select one:a.falseb.true
(判断题)
It is legal to declare variables of the same name ina function even though they are in the same block.
Select one:
a.false
b.true
You cannot use the private modifier on classes.
Select one:
a.false
b.true
(判断题) It is legal to declare variables of the same name ina function even though they are in the same block.Select one:a.falseb.trueYou cannot use the private modifier on classes.Select one:a.falseb.true
第一题 false ,函数名可以相同,变量名不可以.
第二题 false ,因为The private modifier makes a member of a class visible only within that class.