Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Why am I getting this error? It\'s very confusing. File Edit Search View Encodin

ID: 3715842 • Letter: W

Question

Why am I getting this error? It's very confusing.

File Edit Search View Encoding Language Macro Run Plugins Window? ake py py riverJava java DriverJava 1stbt Command Prompt opyright (c> 2009 Microsoft Corporation All rights reserued ??-//DO NOT CANGE ANYTHING BELO( 2H18 LIE __ Users Hirza J. Baigcd desktop Users Mirza J. BaigDesktop>python DrierJaua.jaua File "DriverJava.java" line public class DriverJauaf yntaxError inualid syntax UsersXMirza J. BaigDesktop> ?·cheercode Ealse 1000.1. Ealse Ealse Ealse Ealse Ealse -checkCode?2.1- , Ealse Ealss" Jave source file length : 2812 lines:171 Ln: 12 Col:5 Sel:010 UNI UTF-8 INS 10:14 PM 4/24/2018

Explanation / Answer

You are getting this error because the command "python FILENAME" expects python file. But you are passing java file instead. If you want to run java file, you need to use javac command for compilation and java command for running the file

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote