top of page
ICSE Class 9 Computer Applications
 1. lntroduction to OOP’s concept 
 
       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.

05   Java Features

                 Write Once Run Anytime  The java programs need to be written just once which can be run on different platforms without making                                                                       changes in the Java programs.

                 Light Weight Code           No huge coding is required.

                 Security                            Many enhanced security features.

                 Object-oriented Code     Object-oriented concepts are used. More close to real world.

                 Platform Independent     Java programs can work on any hardware/software.

                 

Anchor 3
Anchor 4
Anchor 2
Anchor 1
Anchor 5
bottom of page