Skip to main content

Java Introduction

Welcome to my blog. Here, I think to write a very important article about the java programming language. Java language is a very important popular programming language for computer science students and also that is a platform. Java is used to develop web applications, mobile applications, games, and much more. It is developed by Sun Microsystem in 1995.

Learning Java 8A Java code is executed by Java Virtual Machine(JVM). JVM  is an abstract computing machine virtual machine interface. It is written by C programming language and it is operating system dependent. Java virtual machine is the main component in java language. we called java is a platform-independent and reason is that, Java virtual machine.  when we compile a java source file(java program) a Byte code is generated. This byte code can be used to run on any platform.

Java Features and Benefits
  • Java is an object-oriented language 
  • Platform independent language
  • It is open-source and free 
  • Memory management
  • Huge Library
  • Multithreaded
  • Strongly Typed
  • Secure by design

Is Java pure object-oriented  ?? 😧😧

    No, Java is not purely object-oriented because it contains these properties.
  • It has primitive data type   eg-: int, long, bool, float
  • static keyword
  • wrapper class            
                Wrapper class means that it provides the mechanism to convert primitive into object and object into primitive.
             wrapper type -: Integer, Boolean, Float

Type Of Java Application      
  • Standalone application    
           The standalone application is traditional software that is called a desktop application or a windows-based application. Media player, antivirus are an example of this application.   
  • Web application            
             This application runs on the server-side.
  •  Enterprise application  
             The enterprise application is like a banking application that advantage is high-level security, load balancing, and clustering.
  • Mobile application       
              An application that is created for mobile devices is called a mobile application.
  • Scientific application  
  • Embedded system 
Java Platforms and Editors

    There are four platforms of the java programming language.
  • Java platform
  • Java Standard Edition(Java SE)
  • Java Enterprise Edition(Java EE)
  • Micro Edition(Java ME)
So, let's see Java Editors
  • Eclipse
  • Netbeans
  • IntelliJ IDEA
  • Jdeveloper
  • MyEclipse 
  • BlueJ        
                        ✎ Imalsha Rathnaweera  🕐 05/19/2020    

Comments

Post a Comment

Popular posts from this blog

OOP Concepts

What is OOP??? 👇 OOP stands for Object-Oriented Programming and that concept is a programming paradigm based on the concept of "Objects" that contain data and methods. The main purpose of object-oriented programming is to increase the flexibility and maintainability of programs. Modularity for easier troubleshooting, reuse of code, flexibility, and effective problem solving are advantages of the OOP concept.   Now, let us consider what an object is... An object is anything that has state and behavior. For example, a car, a dog, a person, etc. At runtime, when the Java Virtual Machine (JVM) encounters the new keyword, it will use the appropriate class to make an object that is an instance of that class. Consider the car object it has state color, model, brand, weight, and as behaviors we can consider a break, accelerate, gear change. Classes A class can be defined as a template/ blueprint describes the behavior/state that the object of its type support. On th...

Drug and Alcohol Prevention

This article is based on the speech and the presentation about “Drug and Alcohol Prevention” was delivered by Mr. Pubudu Sumanasekara, who is executive director of Alcohol and Drug center (ADIC) of Sri Lanka. He made this valuable speech at the UCSC auditorium, under Enhancement program for the 1 st year student of UCSC undergraduate program on 7 th November 2018. As I understood, this lecture was mainly based on Drugs, alcohol and their influence on life. This speech has contained more facts, advice and social issues and science beyond the drugs through his experience. Drug menace is a serious problem among the youth of the world. Unfortunately, so many young generations of the present world have addicted to using drugs. It is comprised young generation of Sri Lanka. This leads to many social problems. The way reason is that they get addicted the drugs because of the parent’s default. Because they don’t attend to children, they refer to a fault. As a result, children campaign ...