Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

#5 Variables in Java

820.4K views on YouTube

Check out our courses:

Mastering Agentic AI with Java : https://go.telusko.com/agentic-ai
Coupon: TELUSKO10 (10% Discount)

DevOps Bootcamp: https://go.telusko.com/complete-devops
Coupon: TELUSKO10 (10% Discount)

Master Java Spring Development : https://go.telusko.com/learn-master
Coupon: TELUSKO10 (10% Discount)

For More Queries WhatsApp or Call on : +919008963671

website : https://telusko.com/

Udemy Courses:

Java Spring:- https://go.telusko.com/Udemyjavaspring
Java:- https://go.telusko.com/udemyteluskojava
Spring: https://go.telusko.com/udemyteluskospring
Java For Programmers:- https://go.telusko.com/javaProgrammers
Python : https://go.telusko.com/udemyteluskopython
Git : https://go.telusko.com/udemyteluskogit
Docker : https://go.telusko.com/udemyteluskodocker

Instagram : https://www.instagram.com/navinreddyofficial/
Linkedin : https://in.linkedin.com/in/navinreddy20
WhatsApp : https://go.telusko.com/whatsapp
TELUSKO Android App : https://go.telusko.com/TELUSKOAPP
TELUSKO IOS App : https://apple.co/3SsgmU2
Discord : https://discord.gg/D8hWe9BqfF

In this lecture we will learn:
– Working of Java code
– How is data stored in a database?
– What are variables?
– Syntax of variables

#1
-As a Java developer you write a Java code that will be having .java extension and that gets compiled by javac.
– When you compile that code what you get in output is a byte code that has .class file.
– Whenever you run .class file in the JVM, it means that it’s a part of JRE that has JVM as well as libraries and a lot of classes, and JRE is installed on the OS.
– So, you need a hardware or machine having OS and then OS will have JRE and it has JVM. As a developer, one more tool is required known as JDK.
When you will install the new JDK, you will get updated JRE and JVM with it.
– We are using JDK version 17 in this course because of its long-term support.
– We develop software to solve real-world problems using the virtual world.
e.g., Amazon

#2
– Whenever we build a project or an application what we are doing is we are processing the data.
– Data may come from the user and then we do processing on it. A database is used to store the data and processing done on it.
– Database is permanent or persistent storage which means data will remain there if the machine gets shut down.

#3 Variables:-
– Variable is used to store the data temporarily while processing.
– Variable is a type of box in which you store data and a type is attached to it such as type can be number, text, image, etc. Thus, a box is known as a variable and a name and value are present with it.
– A variable is a container that holds the value while the Java program is executed.
– Java is a strongly-typed language as it demands the declaration of every variable with a data type.

– Syntax of creating a variable:
datatype variable name = value;
int num1= 3;
– Here, (=) is the assignment operator that takes the right-hand side value and assigns it to the left-hand side.

– println is used to go or print on the new line.
– In Java, every statement ends with a semicolon except blocks.

Github repo : https://github.com/navinreddy20/Javacode.git

More Learning :

Java :- https://bit.ly/3x6rr0N
Python :- https://bit.ly/3GRc7JX
Django :- https://bit.ly/3MmoJK6

JavaScript :- https://bit.ly/3tiAlHo
Node JS :- https://bit.ly/3GT4liq

Rest Api :-https://bit.ly/3MjhZwt
Servlet :- https://bit.ly/3Q7eA7k
Spring Framework :- https://bit.ly/3xi7buh
Design Patterns in Java :- https://bit.ly/3MocXiq
Docker :- https://bit.ly/3xjWzLA

Blockchain Tutorial :- https://bit.ly/3NSbOkc
Corda Tutorial:- https://bit.ly/3thbUKa
Hyperledger Fabric :- https://bit.ly/38RZCRB

NoSQL Tutorial :- https://bit.ly/3aJpRuc
Mysql Tutorial :- https://bit.ly/3thpr4L

Data Structures using Java :- https://bit.ly/3MuJa7S
Git Tutorial :- https://bit.ly/3NXyCPu

Donation:
PayPal Id : navinreddy20
https://www.telusko.com