最近中文字幕高清中文字幕无,亚洲欧美高清一区二区三区,一本色道无码道dvd在线观看 ,一个人看的www免费高清中文字幕

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

The selection cannot be launched ,and there are no recent launches無(wú)法啟動(dòng)選擇,并且沒(méi)有最近的啟動(dòng)(問(wèn)題出現(xiàn)在哪里)

package com.imooc;


public class Telphone {

float screen;

float cpu;

float mem;

void call() {

System.out.println("telphone有打電話的功能");

}

void sendMessage() {

System.out.println("screen:"+screen+"cpu:"+cpu+"mem:"+mem+"Telphone有發(fā)短信的功能!");

}

}


正在回答

2 回答

你這個(gè)類里只定義了兩個(gè)方法:call()方法和sendMessage()方法而并沒(méi)有主方法main

即沒(méi)有程序入口,怎么可能啟動(dòng)?

0 回復(fù) 有任何疑惑可以回復(fù)我~
你需要這樣一個(gè)東西:
public?static?void?main(String[]?arys){

}

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

The selection cannot be launched ,and there are no recent launches無(wú)法啟動(dòng)選擇,并且沒(méi)有最近的啟動(dòng)(問(wèn)題出現(xiàn)在哪里)

我要回答 關(guān)注問(wèn)題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)