ICSE Class 10 Computer Applications
6. Arrays
01 Difference between Object Oriented Programming and
Procedure Oriented Programming
​
Procedure Oriented Programming Object Oriented Programming
1. A large program is divided into smaller segments or procedures. A program is represented as an object.
2. More importance is given to the program rather than the data. More importance is given to the data rather than the program.
3. It follows top down approach. It follows bottom up approach.
​
​
​
02 Introduction to Java
About Java Java is a programming a language and a platform.
​​
History of Java Java was developed by Sun Microsystems (which is now the subsidiary of Oracle) in the year 1991.
James Gosling is known as the father of Java. Before Java, its name was Oak.
Since Oak was already a registered company, so James Gosling and his team changed the Oak name to Java.
Platform Any hardware or software environment in which a program runs, is known as a platform. Since Java has a runtime environment (JRE) and API, it is called a platform.
​
03 Types of Java Programs
​
​ Internet applets is a web-version of an application which is used to run a program on a web browser.
​​
Standalone applications is an application program designed to run on a stand-alone machine.
​
04 Java Compilation Process
​
​ In the Java compilation process The source code is first converted in byte code which is platform independent which means it can be executed on any machine and then the byte code is converted into the machine code by the JVM (Java Interpreter).
​
Java compilation process
-
Java programs are written in “java” file and then compiled by java compiler.
-
Byte code is generated after the java program is compiled.
-
Java Virtual Machine(JVM) which reads the bytecode and interprets into machine code depending upon the underlying operating system and hardware combination.
-
Just In Time (JIT) is part of the JVM and it compiles bytecode into executable code in real time, on a piece-by-piece , demand basis.
​
​
​​