First Java Program - Input/Output, Debugging and Datatypes

preview_player
Показать описание
In this video we run our first Java program from scratch, providing a hands on demo of every step.
We cover input and output in Java, data types, type conversion and casting, debugging, control flow, loops, and also solve a few problems.

Take part in the learning in public initiative! Share your learnings on LinkedIn and Twitter with #DSAwithKunal & don't forget to tag us!

👉 Resources

=========================================
Timestamps:
0:00 Introduction
1:32 Creating .java file
1:11 Setting Up Few Things
3:07 Structure of Java File
7:57 Creating Main Function
9:58 Writing First Line of Code (Printing "Hello Word!")
10:37 Converting .java to .class (Byte Code)
12:40 Explanation of words of the Program
12:59 What is 'public' (1st line)?
13:12 What is 'class'?
13:30 What is 'Main' in this code
13:56 What is 'main function'?
14:35 What is 'public' (2nd line)?
15:06 What is 'static'?
18:24 What is 'void'?
19:07 Array and Arguments
21:00 Changing Location of Byte Code
22:25 Location of 'javac' and 'java'
24:31 Environment Variable PATH
27:25 Starting with IntelliJ IDEA
29:49 Some Shortcuts
30:17 What is a 'package'?
34:45 Outputs in Java
39:25 Inputs in Java
46:40 Primitive Data Types in Java
54:14 Comments in Java
55:08 Int Input Program
59:47 Literals and Identifiers
1:01:18 String Input Program
1:02:38 Float Input Program
1:04:39 Sum of Two Numbers
1:07:30 Type Conversion and Casting
1:07:48 Type Conversion
1:08:39 Conditions for Type Conversion
1:10:24 Typecasting
1:12:20 Automatic Type Promotion in Expressions
1:18:25 Java follows Unicode
1:19:20 Rules for Type Promotion
1:21:18 Example for thorough review of concepts
1:25:00 Basics of while loops and for loops
1:25:13 if condition
1:26:00 while loops
1:27:19 for loops
1:28:03 When to use - while loop and for loop
1:28:45 Temperature Conversion Program
1:31:52 Outro

#java #placement #dsa #interviews
Рекомендации по теме
Комментарии
Автор

real genius, level of knowledge on coding basic is outstanding, this channel without any doubt will be the best youtube channel for DSA, humble request please dont stop the videos

shivaramanparthasarathy
Автор

It's the New Year's Eve today, tomorrow is 2024 and I'm here watching and learning from the master piece he created 2 years ago, it's just worth it.
Thank you so much Sir!

theomchhetri
Автор

I doubt if this man is really a student.
He has so much of knowledge and his experience in teaching seems like atleast 10 years of exp.

priyanshuvettori
Автор

kunal has turned on his beast mode, i was waiting for this type of content from a long time

Harjotse
Автор

I have never woken up till 1 AM just for studies, be it in jee or coding. not even a day before exams, now I am binging this and I have no exam, no classes, just the pure desire of learning which I didn't know I had. imagine your influence. kudos Kunal sir!

aryanshrivastava
Автор

For Windows users:
23:14
If you are using CMD, where will work. If you using on PowerShell, use:
Get-Command javac

23:40 - (For both: CMD and PS)
explorer "Your file location"
e.g.
explorer "C:\Program Files\Amazon

24:48
(For CMD): set | more
(for PowerShell): Get-ChildItem Env:

kinhikar
Автор

Used to be SO scared of starting java and you made it seem so simple! Also, absolutely LOVE how you dive deep into details about each and every thing you show on screen!! BIG

sakshiwahi
Автор

"Static" part is explained perfectly <3

hemanth_koll
Автор

this childish excitement on his face while writing any new keyword (worrying about telling later) is super cute.

payalsingh
Автор

this guy is an absolute genius. How he teaches and explains all the concepts so easily and straightforwardly is remarkable.

MohammedHassanAnsari-eoib
Автор

Hey Kunal, You are not only teaching DSA and Java, but you are also teaching "How To Teach Properly".

Big Fan. Waiting for the upcoming videos in the DSA series.🔥🔥🔥

thomasmatthew
Автор

The concepts you are providing in simply deep even for someone who already know Java. Thanks for the great tutorials.

tejassingh
Автор

the frequency of video posting is hope this continues till the end of the course😄

diyprojects
Автор

I swear nobody explained me programming in this way, had I found your videos a little earlier I wouldn't have bought a udemy course. Great Work

jaynouoliverbeck
Автор

I haven't seen anyone teaching like you!! You are the best one!! There's a humble request please continue the

manvisingh
Автор

Finally First java program thanks Kunal Kushwaha you explained these things better than many teachers. Once again thanks Brother

mohdkaleemsaqlaini
Автор

the consistency is amazing, the amount of effort kunal is putting is just out of this world, thank you so much!🙌

deveshb
Автор

A million thanks kunal. I used to be scared of learning JAVA and DSA, you made it a thousands time easier. Thanks a lot. Kudos to your teaching :) 👌👌🤗🤗

shivikayadav
Автор

What a consistency Kunal! Getting inspiration from your work.

eitoes
Автор

Kunal I must say that no one can teach in so much of detail. In college and classes so many times these things were taught but the way you teach is just awesome. I think every java teacher must go through Kunal lectures before teaching, so they don, t waste their students time.

shubhamagarwal