Posts

Showing posts from April, 2018

Features of Object Oriented Programming Language

OOPS features: (i)Class:-> Class is a blueprint or prototype which contains within itself data and method.At run the instance of class called Object are created to show the properties of Class. (ii)Object:-> Object are the instance of class. At run the instance of class called Object are created to show the properties of Class. (iii)Abstraction:-> It is the act of representing essential features without going to its background details. (iv)Encapsulation:-> It is the method of wrapping data and method under one head or one unit is called encapsulation, (v)Polymorphism:-> Poly means 'many' morphism means 'to form'. When one task is performed by different ways i.e. known as polymorphism. For example: to convince the customer differently, to draw something e.g. shape or rectangle etc.

Object Oriented Programming

What is Object Oriented Programming? =>Object Oriented Programming language is a modular approch which allow the data to be applied within an stipulated prpgram area.Its provide reusabiltiy of code. Feature of OOPS Object Class Inheritance Polymorphism Abstraction Encapsulation

Types of Errors in Programming

Types of Errors in Programming (i)Synatx error(grammartical error) (ii)Semantic error(logical error) (iii)Runtime errror(execution error)

Difference Between Compiler and Interpreter in Java

Compiler Interpreter It considers the completion of your program as input for converting to machine code. It considers 1 statement in your program at a time as input for converting to machine code. It usually generates intermediate code in the form of the object file (.obj). It doesn't create an intermediate object (.obj) code. Faster execution of control statements as compared to the interpreter. Slower execution of control statements as compared to the compiler. Detected errors in the program get displayed after the entire program is read by compiler. Detected errors in the program get displayed after each instruction read by the interpreter. Example: C++, Java. Example. BASIC, Python, PHP.

First Program of Java

class program1 {     public static void main(String args[])     {         System.out.println("Hello Programmer's");      } } Output:Hello Programmer's

About java history

Image
The history of Java  is very interesting. Java was originally designed for interactive television, but it was too advanced technology for the digital cable television industry at the time. The history of java starts from Green Team. Java team members (also known as  Green Team ), initiated this project to develop a language for digital devices such as set-top boxes, televisions etc. But, it was suited for internet programming. Later, Java technology was incorporated by Netscape. James Gosling Currently, Java is used in internet programming, mobile devices, games, e-business solutions etc. There are given the major points that describes the history of java. 1)  James Gosling ,  Mike Sheridan , and  Patrick Naughton  initiated the Java language project in June 1991. The small team of sun engineers called  Green Team . 2) Originally designed for small, embedded systems in electronic appliances like set-top boxes. 3) Firstly, it was called  "Greentalk"  by James

My first post on computer programming

Image
Software development Core activities Processes Requirements Design Engineering Construction Testing Debugging Deployment Maintenance Paradigms and models Computer programming  is a process that leads from an original formulation of a  computing  problem to  executable   computer programs . Programming involves activities such as analysis, developing understanding, generating  algorithms , verification of requirements of algorithms including their correctness and resources consumption, and implementation (commonly referred to as  coding ) of algorithms in a target  programming language .  Source code  is written in one or more programming languages. The purpose of programming is to find a sequence of instructions that will automate performing a specific task or solving a given problem. The process of programming thus often requires expertise in many different subjects, including knowledge of the  application domain , specialized algorithms, and formal  logi