Friday, October 30, 2020

 Differences between JAVA and OS :


1. Java is an High Level Language where as OS is an System Software.


2. Java file contains a Secondary file name .java  , OS contains different types of files having extentions like .Exe , .Sys etc.


3. Java needs Compiler as well as Interpreter where as OS does not required anything.


4.For Execution of Java programs, it depends on OS (without OS it can't execute), but OS does not depends on JAVA.

  3.WAP IN JAVA TO INPUT THREE NUMBERS AND COUNT HOW MANY OF THEM ARE EVEN .   import java.util.*; class Prog {   public static ...