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....

Multithreading In Java

Multithreading In Java Java provides built-in support for multithreading . Multithreading is the technique of performing multiple tasks simultaneously or concurrently, so it is also called multitasking . There are two types of multitasking: process-based multitasking and thread-based multitasking. Process-based multitasking means two or more processes execute at the same time which is supported by the current operating systems. Like a person is using notepad file and at the same time another file is being downloaded in the background, this is multitasking (at the process level). Now, multithreading is the technique in which single process can execute multiple tasks at the same time as a person is writing in notepad file and at the same time he is printing previous pages which he has written, means two tasks are being performed within a single process, so this is multithreading or multitasking within a single process (at thread-level). It is also called concurrent programming, wh...