79409731

Date: 2025-02-03 18:54:51
Score: 0.5
Natty:
Report link

Not shure if it has already been told in the answers but imo it would be:

File my_file = new File("filename");
// Get the number of mbs
long size = my_file.length() / ((1024 * 1024))

;

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Andy McRae