javaプログラム

背景
投稿者投稿者daidaiいいね11お気に入り登録1
プレイ回数3783難易度(3.7) 350打 長文 英字
javaプログラム 初級プログラマ作
どうぞ!!

関連タイピング

問題文

ふりがな非表示 ふりがな表示

(publicclasssample{)

public class Sample{

(publicstaticvoidm(string[]args){)

public static void m(String[] args){

(try{)

try{

(deletefortemporaryfiles(”app”);)

deleteForTemporaryFiles("App");

(}catch(ioexceptione){)

}catch(IOException e){

(e.printstacktrace();)

e.printStackTrace();

(})

}

(for(stringdir)throwsioexception{)

for(String dir) throws IOException{

(file[]file=newfile(dir).list();)

File[] file = new File(dir).list();

(if(files!=files.length>0){)

if(files != files.length > 0){

(for(filefile:files){)

for(File file : files){

(if(file.isdirectory()){)

if(file.isDirectory()){

(delete(file.getabsolutepath());)

delete(file.getAbsolutePath());

(}else{)

}else{

(if(file.getname().endswith(”.tmp”))})

if(file.getName().endsWith(".tmp"))}

(file.delete();)

file.delete();

(p363)

p363

◆コメントを投稿

※誹謗中傷、公序良俗に反するコメント、歌詞の投稿、無関係な宣伝行為は禁止です。

※このゲームにコメントするにはログインが必要です。

※コメントは日本語で投稿してください。

※歌詞は投稿しないでください!