Check out our courses:
Spring and Microservices Weekend Live Batch : bit.ly/spring-live-weekend
Coupon: TELUSKO10 (10% Discount)
Master Java Spring Development : bit.ly/java-spring-cloud
Udemy Courses:
Java:- bit.ly/JavaUdemyTelusko
Spring:- bit.ly/SpringUdemyTelusko
Java For Programmers:- bit.ly/javaProgrammers
For More Queries WhatsApp or Call on : +919008963671
website : courses.telusko.com/
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 : github.com/navinreddy20/Javac...
Java:- bit.ly/JavaUdemyTelusko
Spring:- bit.ly/SpringUdemyTelusko
More Learning :
Java :- bit.ly/3x6rr0N
Python :- bit.ly/3GRc7JX
Django :- bit.ly/3MmoJK6
JavaScript :- bit.ly/3tiAlHo
Node JS :- bit.ly/3GT4liq
Rest Api :-bit.ly/3MjhZwt
Servlet :- bit.ly/3Q7eA7k
Spring Framework :- bit.ly/3xi7buh
Design Patterns in Java :- bit.ly/3MocXiq
Docker :- bit.ly/3xjWzLA
Blockchain Tutorial :- bit.ly/3NSbOkc
Corda Tutorial:- bit.ly/3thbUKa
Hyperledger Fabric :- bit.ly/38RZCRB
NoSQL Tutorial :- bit.ly/3aJpRuc
Mysql Tutorial :- bit.ly/3thpr4L
Data Structures using Java :- bit.ly/3MuJa7S
Git Tutorial :- bit.ly/3NXyCPu
Donation:
PayPal Id : navinreddy20
www.telusko.com
Негізгі бет Ғылым және технология #5 Variables in Java
Пікірлер: 71