老师 求解答
void sendMessage(){
System.out.println("screen:"=screen+"cpu:"=cpu+"mem:"=mem+"Telphone有打电话的功能");
}
为什么我输入这个就报错,只有引号里面的单词好像是成员变量,没打引号的就不是,这个如何解决?
报错内容:
Multiple markers at this line
- The left-hand side of an assignment must be a
variable
- Syntax error, insert ")" to complete Expression
- Syntax error on token "+", ( expected after this
token
- The left-hand side of an assignment must be a
variable