Skip to main content

Introduction To Java Programming Language

Java Programming Language

Java is a high-level language developed by James Gosling and others at sun microsystems (a company which has since been acquired by Oracle Corporation in 2010) in 1992 to resolve the problems of portability means a program written on one machine can be run or execute on other machines without recompiling it. This is achieved by converting source code into bytecode then in machine code. Java compiler converts the source code into bytecode, then java virtual machine converts that bytecode into machine code. So that bytecode can be run on every computer where there is JVM exists regardless of any environment and we don't need to recompile the program. The second aspect of developing java was networking because internet also requires portability means one website should be run on any computer.

Java consists of several versions like J2SE (Java 2 Stand-Alone Edition) used to develop desktop applications and applets (the special type of programs which run in the browser's java virtual machine), J2EE (Java 2 Enterprise Edition) used to develop client-server and web-based applications, J2ME (Java 2 Mobile Edition) used to develop mobile and embedded applications.

Java is OOP-based language. OOP (Object-Oriented Programming) is the programming paradigm (programming methodology) consists of several features like Inheritance, Polymorphism and Encapsulation used to manage the complexity of large programs and provide the flexibility in the code and make the code reusable, manageable and modifiable.

Introduction To Java Programming Language
Features Of OOP

Java remains the most popular programming language even after 20 years of its release and it was ranked at top position in the list of most popular programming languages by Tiobe in 2015 & 2016

See the benefits of learning java

Introduction To Java Programming Language

Comments

Popular posts from this blog

What Are The Benefits Of Learning Operating System

Benefits Of Learning Operating System Operating System is the important part in the field of computer. It is the major subject of Computer Science, Software Engineering, and Information Technology. It is the system software which hides the implementations and provides the interface to the users. It acts as an intermediary between hardware and the application software. Operating System (OS) is responsible for managing the resources of the computer. Most operating systems are divided into modules (sub-parts of the OS) like memory manager which manages the memory of the computer, CPU scheduler which schedules the processes in the main memory (RAM) and virtual memory (Hard disk), file manager which manages the files in virtual memory, input/output manager which manages the input and output devices etc. Most popular operating systems are Windows, Linux, Mac OS, Android, Unix etc. There are types of operating systems, some do single tasking (execute one instruction at a time) and some a...

Comparison Between Java And C++

Comparison Between Java And C++ Java and C++ both are high-level languages and both have somewhat similar syntax but have different uses, purposes, dynamics, advantages etc. C++ was the extension to C language. It inherits its syntax from C language and it adds object-oriented programming (OOP) paradigm, so it was first called "C WithClass" then its name was renamed by C++. Java is totally based on object-oriented programming paradigm developed to overcome platform dependence problems. Java language is influenced by C++ because it inherits most of its syntax from C++, so it is from then being assumed that both are same languages but scenario is totally different in both languages. C++ language was developed for making use of modern techniques and features by extending C language with some new features like static typing, object-oriented programming (OOP) paradigm, generic programming, template metaprogramming, STL (Standard Template Library) and exception handling etc....

What Are The Benefits of Learning Java

Java is the most widely used programming language in developing client-server applications, web-based applications, desktop applications, mobile applications etc. There are several benefits of learning java language. 1. Platform Independent First and foremost benefit of learning Java is that it is platform independent, means a java program written in one computer can be run in any other computer without recompiling it because java compiler does not convert source code of java directly into machine code, rather it first converts it into bytecode, which is then converted by Java virtual machine (JVM) into machine code. So, that generated bytecode can be run in any computer regardless of environments, and this is also called portability (WORA) means write once run anywhere. 2.  Easy To Learn Java language is very easy to learn for professionals and also for beginners because its syntax is inherited from C and C++, so those who know basic of one of these languages can easily...