Java With Sundaram

JAVA AS A PROGRAMMING LANGUAGE

Java is an object-oriented, and network-centric language which is also among the most used programming language. Java can also be used as a computing platform on any modern day device as it is platform independent. Not only is it secure but also realiable and hence, it is preferred by most organizations to build their projects.

Types of Java Platforms:

1.)Java Platform Standard Edition (Java SE): It offers the core functionality of JAVA.

2.)Java Platform Enterprise Edition (Java EE): It offers an API for running network applications.
3.)Java Platform Micro Edition (Java ME): It lets small devices like mobile phones to run JAVA.
4.)Java FX: It is used for developing online apps using a lightweight user-interface API.

Features:

1.)Object Oriented

2.)Architecture-neutral
3.)Portable & Platform Independent
4.)Robust
5.)Multithreaded
6.)Interpreted
7.)Dynamic
8.)Simple & Secure

Applications:

1.)Desktop Applications such as acrobat reader, media player, antivirus, etc.

2.)Web Applications such as irctc.co.in, javatpoint.com, etc.
3.)Enterprise Applications such as banking applications.
4.)Mobile, Embedded System & Smart Card
5.)Robotics & Gaming.


PROJECTS

This is Sundaram and here are some of my favourite progarms that not only focus on programming but also prove to be quite fun. The programs below are in JAVA and are available on my github page. Don't forget to check out my programs by clicking on the images below.

gallery

JAVA

Coin Flip (click here)

Do you want to toss a coin? Don't worry. This program randomly generates Heads or Tales whitout favouring Heads or Tales.

gallery

JAVA

Random Choice (click here)

Are you confused over your choices? Don't worry. This program will take input from you your choices and tell you the best one.

gallery

JAVA

Rock Paper Scissors (click here)

Are you bored and want to play a game? Don't worry. This program is always there to play with you 'Rock Paper Scissors'.

gallery

JAVA

Dice Roll (click here)

Do you want to roll a dice for a game? Don't worry. This program randomly generates the dice digits whitout favouring any digit.

gallery

JAVA

Timer (click here)

Do you want to time your answers or want to cook something? Don't worry. This program is a timer which'll keep track of your time.

gallery

JAVA

Loading Screen (click here)

Do you want to prank your friends? Don't worry. This program displays a loading screen which'll make a fool out of them.

gallery

JAVA

A Unique Way to PRINT (click here)

Don't you think that printing anything is quite boring in JAVA? Don't worry. Open this program and feel the adrenaline rush.

gallery

JAVA

Make Your Own Font (click here)

Are you bored with using the same old fonts on your device? Don't worry. This program creates font with your favourite character.

gallery

JAVA

Back & Forth Loop (click here)

This program is unlike the previous programs as it is more on the logic side. This program genrerates an endless loop between 1 & 14.


Components of JAVA

A Java Programmer writes a program in a human-readable language called Source Code. Therefore, the machine never understand the source code written in any programming language. It understands only one language which is called Machine Language which run at the CPU level. The machine understands this source code and translates them into machine understandable code, which is an executable code. All these functionalities happen inside the following 3 Java platform components:

1.) JAVA DEVELOPMENT KIT (JDK)

JDK is a software development environment used for making applets and Java applications. The full form of JDK is Java Development Kit. Java developers can use it on Windows, macOS, Solaris, and Linux. JDK helps them to code and run Java programs. It is possible to install more than one JDK version on the same computer.

2.) JAVA VIRTUAL MACHINE (JVM)

Java Virtual Machine (JVM) is an engine that provides a runtime environment to drive the Java Code or applications. It converts Java bytecode into machine language. JVM is a part of the Java Run Environment (JRE). In other programming languages, the compiler produces machine code for a particular system. However, the Java compiler produces code for a Virtual Machine known as Java Virtual Machine.

3.) JAVA RUNTIME ENVIRONMENT (JRM)

JRE is a piece of software that is designed to run other software. It contains the class libraries, loader class, and JVM. In simple terms, if you want to run a Java program, you need JRE. If you are not a programmer, you don't need to install JDK, but just JRE to run Java programs.

hero

Execution of a JAVA Program

STEP 1

The code to display the addition of two numbers is System.out.println(1+2) and is saved as a .java file.

STEP 2

Using the java compiler the code is converted into an intermediate code called the bytecode. The output is a .class file.

STEP 3

This code is not understood by any platform, but only a virtual platform called the Java Virtual Machine.

STEP 4

This Virtual Machine resides in the RAM of your operating system. When the Virtual Machine is fed with this bytecode, it identifies the platform it is working on and converts the bytecode into the native machine code.

FINISH

While working on your PC or browsing the web, whenever you see either of these icons, be assured the java virtual machine is loaded into your RAM. But what makes Java lucrative is that code, once compiled, can run not only on all PC platforms but also on mobiles or other electronic gadgets supporting Java.

step

hero

Summary

1.)Java is a multi-platform, object-oriented, and network-centric programming language. 2.) Java is a general-purpose, class-based, object-oriented programming language. 3.)Java Platform is a collection of programs that help programmers to develop and run Java applications efficiently.
4.)Meaning of Java: Java is a multi-platform and network-centric programming language.
5.)It is mainly used for developing Android Apps and Enterprise Software.
6.)2009, Oracle Corporation acquired Sun Microsystems and took ownership of three key Sun software assets: Java, Solaris, and MySQL.
7.)The latest version of Java released on September 15th, 2020
8.)The best feature of the Java is that it is one of the easiest programming languages to learn.
9.)Four types of Java Programming language platforms are: 1) Java Platform, Standard Edition (Java SE) 2) Java Platform, Enterprise Edition (Java EE) 3) Java Platform, Micro Edition (Java ME) 4) & JavaFX.
10.)A computer is an electronic device capable of performing computations.
11.)The computer only understands electronic signals or binary signals.
12.)Assembler is an advanced technology that converts source core to corresponding machine code (110001..) and feeds to your processor.


About Me

I am Sundaram Kumar,a.k.a,Sundaram25000. I am a fellow at Loyola School Jamshedpur and like my other peers, I got quite interested in coding during this lockdown. This page shows some of my programs in Java. Although people tend to call Java a slow programming language, I love coding in it. There's no overruling the fact that in the forthcoming generations, Artificial Intelligence(A.I.) will rule over all the fields out there. From this page you can conclude that JAVA is my personal favourite but nobody can deny HTML's, CSS's & JavaScript's utility in web development using which I was able to make this page. With this I put an end to the saying- "Talk is cheap. Show me the code."

hero

Thanks for using. Hope you like it.