簡體   English   中英

我們可以在java中創建自己的System類嗎?

[英]can we create our own System class in java , if yes then how?

public void MySystem class{
    //here  MySystem is my own System class in place of System class which available in java.lang package //
}

是的你可以。 只需編寫必要的代碼,您就可以輕松進行。 與其他任何類相同。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM