原创 輸出100內所有質數

輸出100內所有質數 質數:素數,只能被1和他本身整除的自然數。 方法一 class Test { public static void main(String[] args) { boolean isFlag = t