老師 求解答
void sendMessage(){
System.out.println("screen:"=screen+"cpu:"=cpu+"mem:"=mem+"Telphone有打電話的功能");
}
為什么我輸入這個(gè)就報(bào)錯(cuò),只有引號(hào)里面的單詞好像是成員變量,沒打引號(hào)的就不是,這個(gè)如何解決?
報(bào)錯(cuò)內(nèi)容:
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
2016-01-12
?你試試: ?System.out.println("screen:="+screen+"cpu:="+cpu+"mem:="+mem+"Telphone有打電話的功能");