WEBVTT

00:00.000 --> 00:07.000
Introduction to Java Program

00:07.000 --> 00:10.000
In this video, you will understand.

00:10.000 --> 00:13.000
Describe the history and purpose of Java.

00:13.000 --> 00:16.000
Identify the key features of Java.

00:16.000 --> 00:21.000
Write and run a simple Java program.

00:21.000 --> 00:25.000
What is Java?

00:25.000 --> 00:29.000
Java is a popular programming language used to build applications.

00:29.000 --> 00:34.000
It is simple, reliable, and widely used around the world.

00:34.000 --> 00:38.000
Created in the 1990s by James Gosling at Sun Microsystems,

00:38.000 --> 00:42.000
initially called Oak, later renamed Java.

00:42.000 --> 00:49.000
Known for the idea, write once, run anywhere.

00:49.000 --> 00:53.000
Key features of Java.

00:53.000 --> 00:57.000
Java has important features that make it powerful and flexible.

00:58.000 --> 01:04.000
Object-oriented programming, OOP, organizes code into classes and objects.

01:04.000 --> 01:09.000
Platform independent runs on any device with a JVM.

01:09.000 --> 01:14.000
Secure and reliable prevents harmful code and handles errors.

01:14.000 --> 01:21.000
Multi-threading allows multiple tasks to run at the same time.

01:21.000 --> 01:26.000
Java editions.

01:26.000 --> 01:29.000
Java comes in different editions for different uses.

01:29.000 --> 01:35.000
Java SE, Standard Edition, core features for desktop and basic applications.

01:35.000 --> 01:41.000
Java EE, Enterprise Edition, used for large-scale web and business apps.

01:41.000 --> 01:50.000
Java ME, Micro Edition, for mobile devices and embedded systems.

01:50.000 --> 01:54.000
Writing your first program.

01:54.000 --> 01:57.000
Learning Java starts with a simple program.

01:57.000 --> 02:01.000
Every program has a class and a main method, example.

02:01.000 --> 02:07.000
But before we begin coding, we need to install IntelliJ idea.

02:07.000 --> 02:14.000
Write-click the installer file and open.

02:14.000 --> 02:16.000
Click Next to begin setup.

02:16.000 --> 02:19.000
Choose the installation folder and click Next.

02:19.000 --> 02:26.000
Click install to start installation.

02:26.000 --> 02:35.000
When done, click Finish.

02:35.000 --> 02:41.000
Launch IntelliJ idea to start coding in Java.

02:41.000 --> 02:45.000
Select Java from the options on the left.

02:45.000 --> 02:49.000
Open the new project window in IntelliJ idea.

02:49.000 --> 02:53.000
Enter the project name in the name field.

02:53.000 --> 02:55.000
Set the project location.

02:55.000 --> 02:58.000
Make sure the correct JDK is selected.

02:58.000 --> 03:08.000
Click Create to set up the new project.

03:08.000 --> 03:11.000
Write-click the SRC folder in your project.

03:11.000 --> 03:13.000
Select New Java class.

03:13.000 --> 03:19.000
Enter Hello World as the class name.

03:19.000 --> 03:24.000
Click OK to create the class.

03:24.000 --> 03:27.000
We type our first Java program.

03:27.000 --> 03:32.000
Press Shift F10 to run the program.

03:32.000 --> 03:35.000
The output appears in the console.

03:35.000 --> 03:36.000
Hello World.

03:36.000 --> 03:39.000
This completes our first Java program.

03:39.000 --> 03:44.000
From here, we are ready to move into the next concepts of Java.

03:44.000 --> 03:48.000
Java is a secure, reliable, and widely used language.

03:48.000 --> 04:01.000
Learning its features, additions, and first program builds the foundation for future programming skills.

