Using the knowledge of computational language in JAVA it is possible to write a code that Fixing syntax errors Click run to compile, and note the long error list.
<h3>Writting the code:</h3>
<em>public class BeansInJars {</em>
<em> public static void main(String[] args) {</em>
<em> int numBeans;</em>
<em> int numJars;</em>
<em> int totalBeans;</em>
<em> numBeans = 500;</em>
<em> numJars = 3;</em>
<em> System.out.print(numBeans + " beans in ");</em>
<em> System.out.print(numJars + " jars yields ");</em>
<em> totalBeans = numBeans * numJars;</em>
<em> System.out.println(totalBeans + " total");</em>
<em> }</em>
<em>}</em>
See more about JAVA at brainly.com/question/12975450
#SPJ1