OOP’s Story Board

Start with Programming Concepts. 1.Structured Programming :- A technique for organizing and coding computer programs in which a hierarchy of modules is used, each having a single entry and a single exit point, and in which control is passed downward through the structure without unconditional branches to higher levels of the structure. Three types of control flow are used: sequential, conditional, and iteration. 2. Procedural Programming:- This is Programming concept is like a sub-program are subroutine with execute separately it can re reused like a macro but it does not expand in the program it executes separately and control returns to the place where it is called. Two type of Modular Programming concepts: - Procedures and Functions. 3. Modular Programming: - This can be achieved using procedures that have strictly defined channels for input and output, and usually also clear rules about what types of input and output are allowed or expected. Inputs are usually specified syntactically in the form of arguments and the outputs delivered as return values. 4. Object Oriented Programming: - The idea behind object-oriented programming is that a computer program may be seen as comprising a collection of individual units, or objects, that act on each other, as opposed to a traditional view in which a program may be seen as a collection of functions, or simply as a list of instructions to the computer. Each objects can be viewed as an independent little machine or actor with a distinct role or responsibility. 5. Object Based Programming: - In a technical sense, the term “Object-based language” may be used to describe any programming language that is based on the idea of encapsulating data and code inside objects. Object-based languages need not support based languages that do not support inheritance or subtyping are usually not considered to be true Object-Oriented language. 6. Event Driven Programming: - Unlike traditional programs, which follow their own control flow pattern, only sometimes changing course at branch points, the control flow of event-driven Programs is largely driven by external events. 7. SQL(Structured Query Language): -This is a query based concept which is used in database like oracle. Execution depends on the queries And there are many more. Coming to Java first discussing about the platform independency.

3.This is program which checks for the syntactic error and translates the high level language code into Machine understandable format all at once.Abstraction is referred to as reducing the i.In this a child class acquires the properties from only one super class then it is simple inheritance. Jvm which is specific to Operating Systems which converts the byte code into OS understandable format. super class and subclass. Types of inheritances 1. Abstraction and Polymorphism: . 2.the ability to take more than one form is called as Polymorphism. Encaptulation: . It translates line by line into Machine understandable format. Java has both Compiler and Interpreter First the complier checks for the syntactic error and converts into intermediate code called byte code.e.Acquiring the Properties from the Parents. This code can run on any operating system provided if the system has a Jvm installed. Inheritance: . Compiler: . Polymorphism: .In this a child class acquiring the properties from two or more parent class but it is not supported in java.Java is not Platform independent but actually the applications which are developed in java are Platform independent. Compile once and run any where on any operating system.e. Multiple Inheritance: . 2.e. 2. The Interpreter i. i. Interpreter: .e. Multi-level: . Simple Inheritance: . 1. avoiding the redundant code that is achieved though the modularity the more modular is the better abstraction.Combining the data member and function member is called as encapsulation. Super class is called the parent class and Subclass is called as child class. extension of the child class level by level. Ways the application which are developed in java are Platform Independent. .This is program which checks for the syntactic error and translates line by line and converts each instruction into Machine understandable format and execute. This can be achieved in two ways static and dynamic polymorphism.In this a class has the super class as well as child class i. Then coming to Object Oriented Concepts. 1.

Java 2 Micro Edition with which developers can build the application for the mini or micro devices .Java 2 Enterprise Edition with which developers can build the huge Enterprise applications.Java is not Process based it is a thread based so every thing in java is thread and it supports the multi-threading concept. A class called Exception is Provided and developers can write user defined Exceptions also.Static Polymorphism and it is also called as early binding. Robust in Memory Management: .Java is secured because there is no possible way of getting the garbage values because of data encapsulation. The bindings performed as the program runs are called as dynamic or late binding. AWT and Swings. Applet is Program which can be downloaded and sits in the client system. Web Based(applets): .In Java Exception handling is very easy and efficient when compared to the other languages. Multi-Threaded Programming: .Java API provides java. Java is provided in three additions: J2SE: .In Java we have two packages with helps the developers to write GUI programming easily when compared to other languages. And also Java doesn’t provide direct access to the memory with pointers. Dynamic Polymorphism and it is also called as late binding. Compared to other language it is much easily to implement with provided socket class and datagram class. Networking Based Applications: .net package with which the networking can be easily done. J2ME: .Java 2 Standard version with which developers can develop desktop applications more efficiently.Programmer doesn’t need to concentrate on the memory because Garbage Collector is a demon thread will run with the jvm and it looks after the unused objects it deletes them.In Java the developers are provided with Applets with which Web Based application can be developed. Features of java Secure: . No unauthorized code we cannot write any code with may disturb other applications or other applications code disturbing the java code. J2EE: . no pointers concepts provided for the developers. The binding of names before the program is run is called static or early binding. GUI Programming: . Runtime Exception Handling: .

println()” at this point of time we can say it is used for outputting the values System is a class in which out is PrintStream object which is static and println is method. A class is encapsulation of attribute and methods. If we observe the java file “public static void main (String args[])” Here public is access specifier and static is the means class member it will be loaded into memory at the time of loading of the class and main is the method which specifies the starting point of the program it is not mandatory to have main method in every class. If we want to overload the methods the argument must differ. . The return statement should be the last statement of the method because the code which is written below the return statement will become unreachable. Constructors are same as the methods but they don’t have the return types and they will have the same name as the class. ‘this’ is key word which is used to refer the current object. Overloading means writing the same method with different parameters. Method is the behavior or the functionality which we want to reuse can be written in this. Java and then compile it javac filename.Java Program Compilation and Execution Flow: Write a java program and save it with filename. Variable are of two types Instance variables and Reference variables. Class is the idea to create the object and every class name should be in Capital letters. object’s reference is stored in the Reference variables. And also “System.class generated then run the program with java filename. A class should have first attributes and then the constructors and then the methods. The constructors should be used to initialize the variables.java Then u will find a filename. Instances can be created with the class name with a reference variable and new with constructor of that class.out. If any instance variable are not initialized then the java run time environment with look after to initialize it with default values. String is a class and which is provided to send the command line arguments if no arguments are sent then empty array is submitted to the method. The class can have any number of overloaded constructors.