Skip to main content

Posts

Features of Java

  Features of Java The primary objective of Java programming language creation was to make it portable, simple and secure programming language. Apart from this, there are also some excellent features which play an important role in the popularity of this language. The features of Java are also known as Java buzzwords . A list of the most important features of the Java language is given below. Simple Object-Oriented Portable Platform independent Secured Robust Architecture neutral Interpreted High Performance Multithreaded Distributed Dynamic Simple Java is very easy to learn, and its syntax is simple, clean and easy to understand. According to Sun Microsystem, Java language is a simple programming language because: Java syntax is based on C++ (so easier for programmers to learn it after C++). Java has removed many complicated and rarely-used features, for example, explicit pointers, operator overloading, etc. There is no need to remove unreferenced objects because there is an Autom...

What is Java?

What is Java?  Java is a high level, robust, object-oriented and secure programming language.Java was developed by Sun Microsystems (which is now the subsidiary of Oracle) in the year 1995. James Gosling is known as the father of Java. Before Java, its name was Oak. Since Oak was already a registered company, so James Gosling and his team changed the name from Oak to Java. Platform: Any hardware or software environment in which a program runs, is known as a platform. Since Java has a runtime environment (JRE) and API, it is called a platform. According to  Sun Microsystems , 3 billion devices run Java. Java Platforms / Editions There are 4 platforms or editions of Java: 1) Java SE (Java Standard Edition) It is a Java programming platform. It includes Java programming APIs such as java.lang, java.io, java.net, java.util, java.sql, java.math etc. It includes core topics like OOPs, String, Regex, Exception, Inner classes, Multithreading, I/O Stream, Networking, AWT, Swing, Reflec...

Object Oriented Programming

  The word object-oriented is the combination of two words i.e. object and oriented. The dictionary meaning of the object is an article or entity that exists in the real world. The meaning of oriented is interested in a particular kind of thing or entity. In layman's terms, it is a programming pattern that rounds around an object or entity are called object-oriented programming. The object-oriented programming is basically a computer programming design philosophy or methodology that organizes/ models software design around data, or objects rather than functions and logic. An object is referred to as a data field that has unique attributes and behavior. Everything in OOP is grouped as self-sustainable objects. It is the most popular programming model among developers. It is well suited for programs that are large, complex, and actively updated or maintained. It simplifies software development and maintenance by providing major concepts such as abstraction, inheritance, polymorphism,...

Procedure Oriented Programming (POP)

  Procedure Oriented Programming (POP) As the name implies, Procedure Oriented Programming contains step by step procedure to execute. Here, the problems get decomposed into small parts and then to solve each part one or more functions are used. Thus in POP approach, the problem is viewed as a sequence of things to be done, such as, input taking, calculating and displaying. The primary focus stays on functions which will be used to accomplish each task. Procedural language is a type of computer programming language that specifies a series of well-structured steps and procedures within its programming context to compose a program. It contains a systematic order of statements, functions and commands to complete a computational task or program. In procedural programming language programs are divided into smallest parts called functions. In this programming whole program is divided into sub programs, routines, or subroutines by using  top down designing approach. 

High Level Language

  High Level Language High Level computer languages are the advanced development languages in the evolution of computer languages. These languages are designed to make the programming easier and less error-free. High level language uses words and commands along with symbols and numbers. The keywords used in High level languages are similar to English words and can be easily understood by Humans when compared to a Low level language. High-level language is a computer language which can be understood by the users. The high-level language is very similar to human languages and has a set of grammar rules that are used to make instructions more easily. Every high-level language has a set of predefined words known as Keywords and a set of rules known as Syntax to create instructions. The high-level language is easier to understand for the users but the computer can not understand it. High-level language needs to be converted into the low-level language to make it understandable by the co...

Assembly Level Language

Assembly Level Language Assembly language is a middle level language. Assembly level language in computer programming has evolved with the advancements in the machine language. Assembly language uses symbols, such as letters, digits, and special characters. So it is a alphanumeric code. In assembly language, we use predefined words called mnemonics.  Mnemonics in computer terminology to write the instructions. So, comparatively writing a program in Assembly language is more understandable to the Human than Machine Language. As we know that computer only understand the binary codes but assembly language uses alphanumeric codes so that purpose a translator is required to translate it into machine code. The Assembly language code will be converted into a Machine language code with the help of an Assembler so that the computer can understand the binary converted Assembly Language. Assembler Assembler is a translator which converts assembly language code to machine language code. It act...

Machine Level Language in Computer ?

Low Level / Machine Level Language Fundamentally, the most basic instructions executed by a computer are binary codes, consisting of ones and zeros. Those codes are directly translated into the “on” and “off” states of the electricity moving through the computer’s physical circuits. In essence, these simple codes form the basis of “ Machine Language ”. As Low-level computer language includes only 1’s and 0’s. Machine language is developed by only using binary numbers i.e. 0 and 1. So, the instructions or the statements in this language use a sequence of 0’s and 1’s. This language was used in first and second generation computers. A Low level language is very easily understood by a computer but hard to understand for Humans because all the codes are written in binary number. Example of Machine level language is-100100101001, 1100111010 No need to translate machine level language. Computer directly understands machine language.  Hence no translator is required for this language....