difference between .java and .class
.java files are where you write your code, .class files are bytecode resulting from the compilation of .java files by javac.
.java has the source code, .class has the compiled java bytecode
Question is write a c program to print prime numbers up to n and print the largest number in array.
Error in Program