Java is an Object-Oriented Programming language and a platform. Java is a high level, robust and secure programming language. In 1995, Java Was developed by Sun Microsystems. In this tutorial, we have made it easy to understand this Programming Language.
Platform: Any software or hardware environment in which a program execute is called as a platform. Since Java has a API and runtime environment (JRE), So JAVA is called a platform.
Web Application is defined as an application that runs on the server side and creates a dynamic page. Recently Servlet, JSP, Struts, Spring , JSF, etc. technologies are used for developing web applications in Java.
Standalone applications are also called as window-based applications or desktop applications. These are Old software that we need to install on every machine.
Examples: - Media player, antivirus, etc. AWT and Swing are used in Java for creating standalone applications.
Enterprise application that is distributed in nature in the field of banking applications, etc. Enterprises Application has advantages of the load balancing, high-level security and clustering.
An application which is made for mobile devices is known as mobile application. Recently, Java ME and Android are used for creating mobile applications.
Start NetBeans IDE → Click on File → New Project → New Window Will appear → Select from categories as Java if you are working on console application otherwise select as per your requirement and Projects as Java Application
Click on “Next” Button → New Window will appear → write project Name and Project Location where you want to save this project → Click on “Finish” Button.
Start coding on File which has Name with .java extension.
Example: -package javaapplication1; public class JavaApplication1 { public static void main(String[] args) { // TODO code application logic here System.out.println("Hello World"); } }
After coding Click on “Run Project” → Below output show
Output: -Hello World
It is Box which keep the value while the Java Program is executed. Generally, Java Variable is the name of memory location and the variable is assigned to Data types.
Types of Data Types in Java: -Local Variable is defined as the variable which is declared inside the body of the method. We can’t define Local variable with “Static” Keyword.
This type of variable always defined inside the class but outside the body of method. Instance variable is not defined with static.
The variable which is defined as static is known as static variable. Static Variable can’t create local variable.
JavaFX is a Graphical User Interface toolkit for Java and in Short It is said to GUI. JavaFX makes it simple to create games and desktop applications in Java. We know that Java is one of the popular programming languages and it support all different types of operating system.
Some of them are follows below: -Start NetBeans IDE → Click on File → New Project → New Window Will appear → Select from categories as and Projects as JavaFX Application.
Click on “Next” Button → New Window will appear → write project Name and Project Location where you want to save this project → Click on “Finish” Button.
NEW YEAR OFFER 50% OFF !!! Order Now
NEW YEAR OFFER 50% OFF !!
Lets take Best opinion from our Expert Tutors Today! Order Now
*Disclaimer: The reference papers provided by QuickAssignmentHelp.net serve as model papers for students and not to be submitted as it is. These papers are intended to used for research and reference purposes only.
Copyright © 2024 QuickAssignmentHelp.net All right reserved.