ICSE computer application Notes and projects – Types of Java Programs

ICSE computer application Notes and projects – Types of Java Programs

The two types of Java Programs are :

Internet Applets and

Stand alone applications.

Internet Applets :- These are the small programs that are embedded in web pages and are run on the viewers machine in a secures manner by the Java capable browsers. Applets are designed to be delivered to Internet Web browsers and that is why an applet has a built-in graphical window.

Note : Java applets have some security restrictions, that is it cannot write to a local file.

Stand alone application :- These are the software application that do not require low level operating system or hardware access. Every stand alone application of Java begins executing with a main method.

Note: There are another category of Java Programs called as Servlets. These are the server side programs.

Program : A program is a set of instruction written in a sequential way to perform a specific application or to solve a numeric or non-numeric problem.

 

Types of Programming Languages :

The different types of programming languages are –

Machine Level Language

Assemble Level Language and

High Level Language

 

Machine Level Language :- The programs are written in the Low Level Language, which are understandable by the Machines. Here the programs are written in the binary codes.

Assembly Level Language :- Here the programs are written using small symbolic words called as mnemonics.

High Level Language :- Here the programs are written in a language which is closer to the user that is English by following some specific rules for the language. Examples of High Level Language are : QBASIC, Pascal, Fortran, C, C++, Java, VB, etc..,.

 

Procedural Language :

In the procedural programming language a program is developed with a process centric approach. It concentrates on the process for which the software is being built. Here the functions are independent of each other. Procedural approach refers to breaking up of complex programs into a smaller problems and then solving each by using ,odules which act on data.

Disadvantages of Procedural Language :

[1] The modules in a procedural language strongly depend on each other.

[2] A module cannot be reused by other programs.

[3] The procedural program code is not flexible to change.

 

Object Oriented Programming :

Object Oriented Programming stimulates the real world in software. Real world consists of the objects and each object has a set of attributes and behavior.

Advantages of Object Oriented Programming Language :-

[1] OOP approach focuses on the objects rather than the procedures.

[2] Classes built, can be used in other programs. It ensures reusability.

[3] Programs written in OOP language are simpler to change when the requirements for the application change.

[5] A class wraps up the attributes and methods of the objects. This protects the objects from mishandling.

 

BlueJ :

BlueJ is a Java development environment. It is an IDE ( Intgrated Development Environment ), which includes an editor, a debugger and a viewer. It offers an easy way to run Java programs and view documentation.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

Security Code: