Error: invalid flag: ./Variable

Question:
Why I am getting this error?:

Current behavior:

error: invalid flag: ./Variable
Usage: javac <options> <source files>
use --help for a list of possible options

Desired behavior
Output should be :

42
12.5
1.94

Repl link:
https://replit.com/@sudipbirade/Java#Variable%20Types/Main.java

code snippet
1 Like