First Java Program – Input/Output, Debugging and Datatypes



First Java Program – Input/Output, Debugging and Datatypes

First Java Program - Input/Output, Debugging and Datatypes

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.

Sign up to our newsletter to never miss an update: https://www.commclassroom.org

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

Complete Java DSA playlist: https://www.youtube.com/playlist?list=PL9gnSGHSqcnr_DxHsP7AW9ftq0AtAyYqJ
Code, Assignments, & Notes: https://github.com/kunal-kushwaha/DSA-Bootcamp-Java

==========================================
➡️ Connect with me
Twitter: https://twitter.com/kunalstwt
LinkedIn: https://www.linkedin.com/in/kunal-kushwaha/

Kubeworld: https://kubeworld.org
Community Classroom: https://www.commclassroom.org

=========================================
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:23 Running Main.class
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’?
32:42 What is ‘System.out.println()’?
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

Comments are closed.