Skip to content

Commit

Permalink
Update java-function-are-here.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Tidy-Coder authored Aug 5, 2024
1 parent efca24b commit a081037
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions java/java-function-are-here.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@ public boolean delete(String tidyPath){
public boolean createFile(String tidyPath){
return (new File(tidyPath)).createNewFile();
}
public long size(String tidyPath){
return (new File(tidyPath)).length();
}
}

0 comments on commit a081037

Please sign in to comment.