AN OBJECT ORIENTED PROGRAMMING(OOP)IS A MODULAR APPROACH, WHICH ALLOWS THE DATA TO BE APPLIED WITHIN STIPULATED PROGRAM AREA. IT ALSO PROVIDES THE REUSABILITY FEATURE TO DEVELOP PRODUCTIVE LOGIC, WHICH MEANS TO GIVE MORE EMPHASIS ON DATA. OBJECT ORIENTED PROGRAMMING(OOP)
Comparison between structured programming and object oriented programming.
Conventional programming using high-level languages such as BASIC, COBAL, FORTRON and C are commonly known as procedure oriented programming.
An object oriented programming(OOP)is a modular approach, which allows the data to be applied within stipulated program area. It also provides the reusability feature to develop productive logic, which means to give more emphasis on data.
James A gosling, (born on may 19, 1955, near calgary, alberta, canada) is a famous software developer. In 1977, he completed his graduation as a B.Sc. In computer sciences from the university of calgary. In 1981, he was honoured a Ph.D in computer science from carnegie mellon university. He developed many compilers and mail system.
Sometimes it becomes difficult for user to understand the logic applied in a program particularly when the other person has developed it. In such cases, the programmer keeps mentioning the purpose and action being taken in different steps. This can be possible only by applying comment statement in the program.
After writing a java program, it is to be compilated and then only the program can be executed. On the screen, click the option compile. If the program doesn't have any error then at the bottom of the screen a message displays “class compiled”.
compiler contains a phase called the storage assignment phase. This phase allocates memory for different variables used in a program. It also creates the structure to store the data efficiently in a location.