Is there en API or something that tell me if a code is correct? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is there en API or something that tell me if a code is correct?

Is there an API or something that I could implement in a website to correct java code, like eclipse’s compiler or something like that. What I need to do is correct exercise for students.

5th Mar 2020, 10:36 AM
Lora-Line
Lora-Line - avatar
3 Answers
+ 5
Simple See compiler error she told everthing about error
5th Mar 2020, 11:02 AM
Sumit Programmer😎😎
Sumit Programmer😎😎 - avatar
0
A code can't know what you want to do, unless you code it to know that, so no. The best I can advise you to do is print as much data as you can in your program to verify it is the same as your assignment.
5th Mar 2020, 10:49 AM
coddy
coddy - avatar
0
You can write your own module which checks errors and correct them
5th Mar 2020, 10:56 AM
_yaroslavv [online_everyday]
_yaroslavv [online_everyday] - avatar