~ JAVA~
What is Java?
JAVA is a programming language and a platform. JAVA is a high-level, robust, object-oriented, and secure programming language.
JAVA was developed by sun microsystems (which is now a 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 oak name to JAVA.
It was developed by a standard internet application (concept of the applet) that provides interpreting processing for the use of Graphics and animation on the internet. It was also developed by the truly oop concept and also supports multiple platforms.
What is Platform?
Any hardware or software environment in which a program run is known as a platform. since JAVA has a runtime environment (JRE) and API, it is called a platform.
Types of JAVA application:-
There are mainly 4 types of applications that can be created using java programming.
1. Standalone Application: –
Standalone applications are also known as desktop applications or window-based applications. These are traditional software that we need to install on every machine. Example of standalone application is media player, antivirus, etc. AWT and swing are used in JAVA for creating standalone applications.
2.web Application: –
An application that runs on the server slide and creates a dynamic page is called a web application, currently, servlet, JSP, struts, spring, hibernate JSF, etc. technologies are used in JAVA for creating a web application in JAVA.
3. Enterprise Application: –
An application that is disturbed in nature such as a banking application etc is called an enterprise application. It has the advantage of high-level security, load balancing, and clustering, in JAVA EJB is used in JAVA for creating enterprise applications.
4. Mobile Application: –
An application that is created for mobile devices is called a mobile application. Currently, Android and JAVA ME are used for creating a mobile applications.
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.io, JAVA.net, JAVA.unit, JAVA.sql, and java—math etc.
It includes core topics like oops string, Regex, Exception, Inner classes Multithreading, I/O stream, networking, AWT, Swing, Reflection collection, etc.
2.JAVA EE (JAVA Enterprise edition): –
It is an enterprise platform that is mainly used to develop web and enterprise applications. It is built on top of the JAVA SE platform. it includes topics like servlet JSP, WEB Service, EJB, JPA, etc.
3.JAVA ME (JAVA Micro Editor): –
It is a micro platform that is mainly used to develop mobile applications.
4. JAVA FX: –
It is used to develop rich internet applications it uses a lightweight user interface API.
1. Write a Java Program to add Two Numbers?
2. Write a Java Program to the interest of a given number?
3. Write a Java program to find the Sum of two numbers?
Add a Comment