Wednesday, November 19, 2014

object oriented programming in java (OOPs)

object oriented programming 
                                    object oriented programming is an emerging major programming paradigm. an object is a particular instance of a class and consists, essentially, of data which defines its characteristics and current status together with procedures or "methods" which operate on the object.


computer program 
                        computer program is a sequence instructions that when performed in a computer carry out a particular task.two ways to run a program. 
       1.sequential processing 
       2.concurrent processing 

1. sequential processing 
            the instruction are performed one after the other the computer. the program is stored in the memory and instructions are fetch one by one and execute within the CPU.

2. concurrent processing 
            the instructions are performed in parallel within the computer. this may be done using multiple processors or using the same processor with time sharing.


concept of algorithm 
                      when we want to design and implement a program it is important to develop a 'blueprint' of the program which details the step by step procedure in arriving at the solution. such 'blueprint' is celled an algorithm.

No comments:

Post a Comment