Cov txheej txheem:

Kuv yuav ua li cas khiav ob chav kawm tseem ceeb hauv dab noj hnub?
Kuv yuav ua li cas khiav ob chav kawm tseem ceeb hauv dab noj hnub?

Video: Kuv yuav ua li cas khiav ob chav kawm tseem ceeb hauv dab noj hnub?

Video: Kuv yuav ua li cas khiav ob chav kawm tseem ceeb hauv dab noj hnub?
Video: Ob zaj dab neeg By Nquab Tsab New Song 2023 2024, Kaum ib hlis
Anonim

3 Teb

  1. Mus rau qhov lub ntsiab txoj kev ntawm txhua qhov kev pab cuam rau khiav lawv. Ib zaug koj tau khiav lawv ib zaug, lawv tshwm nyob rau hauv dropmenu ntawm lub khiav khawm.
  2. Ua ntau consoles thiab pin lawv.
  3. Txav mus ntau consoles cais cov kev xav kom koj tuaj yeem pom lawv tib lub sijhawm.

Ntxiv mus, peb puas tuaj yeem khiav ob txoj haujlwm hauv dab noj hnub?

Re: Khiav ob txoj haujlwm tib lub sij hawm nyob rau hauv dab noj hnub Tsuas yog nyem tus Pin icon ntawm txhua lub console. Koj yuav tsum kuj npaj lub console views thiab editor panes ib sab. Thaum twg koj khiav ob leeg cov kev pab cuam (right-click-> khiav as), ob lub consoles yuav qhia cov zis rau thawj qhov kev pab cuam.

Tom qab ntawd, lo lus nug yog, daim ntawv thov puas tuaj yeem muaj ntau chav kawm muaj txoj hauv kev tseem ceeb? Yog koj tuaj yeem muaj ntau chav kawm uas muaj pej xeem static void lub ntsiab (String args). Thiab koj ua tau xaiv los ua ib tug chav kawm los yog lwm tus chav kawm . Txawm li cas los xij, koj ua tau 't muaj ntau tshaj ib txoj kev loj hauv tib yam chav kawm.

Ib yam li ib tug yuav nug, Kuv yuav qhib ob lub consoles li cas hauv dab noj hnub?

2 Teb

  1. Ib qho ntawm koj lwm cov nyees khawm nyob ze koj lub console tab yog "DisplaySelected Console". Thaum koj xaiv qhov kev xaiv no koj tuaj yeem xaiv los ntawm ib qho ntawm koj daim ntawv thov khiav.
  2. Tsuas yog xaiv lub tab, xaiv daim ntawv thov twg koj xav kom nws saib, thiab rov ua dua rau lwm lub tab.

Kuv yuav ua li cas khiav ib chav kawm tshwj xeeb hauv dab noj hnub?

Cov kauj ruam

  1. Download tau thiab nruab Java, thiab dab noj hnub yog tias cov kev pab cuam tseem tsis tau teeb tsa.
  2. Tsim ib qhov project Java tshiab.
  3. Tsim ib chav kawm tshiab nrog cov ntaub ntawv hauv qab no> Tshiab> Chav..
  4. Sau lub npe ntawm chav kawm thiab nias tiav..
  5. Sau cov lus qhia System.out.println("Hello World"); thiab Txuag (Shortcut: CTRL + S).

Pom zoo: