Java is a programming language famous for its ability to compile to platform-independent bytecode. It powers enterprise web apps, big data pipelines, and android mobile apps. 

#java #programming #100SecondsOfCode

🔗 Resources

Java Website https://java.com
Star7 Demo https://youtu.be/1CsTH9S79qI

🔥 Get More Content - Upgrade to PRO

Upgrade to Fireship PRO at https://fireship.io/pro
Use code lORhwXd2 for 25% off your first payment. 

🎨 My Editor Settings

- Atom One Dark 
- vscode-icons
- Fira Code Font

🔖 Topics Covered

- How Java works
- Java basics
- History of Java
- Java vs C
- How to compile Java
- Overview of JVM, JRE, & JDK
2024-02-04T05:40:51.633Z
nova-2
2-general-nova
2024-01-09.29447
30089e05-99d1-4376-b32e-c263170674af
66f4b8f4-09b8-4d8b-929c-6679de546d0f
051f2ac394062c658c3aa07f7c895b8afffbfaec26a2bb54e20119757530560b
67875a7f-c9c4-48a0-aa55-5bdb8a91c34a
deprecated
Java.
A high level, multi paradigm programming language famous for its ability to compile to platform independent bytecode.
It was designed by James Gosling in 1990 at Sun Microsystems.
One of its first demonstrations was the star 7 PDA, which gave birth to the Java mascot, Duke.
Today, it's one of the world's most popular programming languages.
It powers enterprise web apps with Spring Framework, big data pipelines with Hadoop, mobile collapse on Android and even things like the controller for NASA's Maestro Mars Rover.
What made Java innovative is that instead of compiling to machine code, like c or c+, it compiles to bytecode that can run on any operating system without recompiling, which is made possible by executing the code with the Java Virtual Machine or JVM.
It's both a compiled and interpreted language at the same time.
The computer just needs to have the Java runtime environment or JRE installed, and most of them do.
For developers, this means write once, run anywhere.
It's a strongly typed language with a curly brace syntax similar to the c family.
However, it provides more high level features like garbage collection, a runtime type checking and reflection.
To get started, install the Java Development Kit or JDK, then create a file ending in dot Java.
Every Java program starts with a class name, which should also match the file name.
The class is required to have a main method.
This is where your code will start executing.
Inside the method, define a variable by starting with a type followed by a name and value.
We can then print it to the standard output using the built in System class.
Now, because we're inside of a class, we define functions as methods on this class.
The public keyword means that it can be used outside of this class and static means that it's a member of the class itself as opposed to an instance of the class.
We then provide a type and name and return a value from it.
You can define your own custom which are blueprints for objects, then add attributes and methods to them.
Use the new keyword to instantiate an object from the class.
It feels very object oriented, but has evolved to support functional patterns like anonymous lambda methods.
When your program is finished, use the compiler to generate a dot class file which contains the bytecode.
Now use the Java command to tell the JVM to interpret and run that file.
Congratulations.
You just built an enterprise grade application.
This has been Java in 100 seconds.
Hit subscribe for more short videos like this, and if we somehow get to 100,000 likes on this video, I'll do a full Java tutorial.
Thanks you're watching, and I will see you in the next one.

Speaker 0: Java. A high level, multi paradigm programming language famous for its ability to compile to platform independent bytecode. It was designed by James Gosling in 1990 at Sun Microsystems. One of its first demonstrations was the star 7 PDA, which gave birth to the Java mascot, Duke. Today, it's one of the world's most popular programming languages.

It powers enterprise web apps with Spring Framework, big data pipelines with Hadoop, mobile collapse on Android and even things like the controller for NASA's Maestro Mars Rover. What made Java innovative is that instead of compiling to machine code, like c or c+, it compiles to bytecode that can run on any operating system without recompiling, which is made possible by executing the code with the Java Virtual Machine or JVM. It's both a compiled and interpreted language at the same time. The computer just needs to have the Java runtime environment or JRE installed, and most of them do. For developers, this means write once, run anywhere.

It's a strongly typed language with a curly brace syntax similar to the c family. However, it provides more high level features like garbage collection, a runtime type checking and reflection. To get started, install the Java Development Kit or JDK, then create a file ending in dot Java. Every Java program starts with a class name, which should also match the file name. The class is required to have a main method.

This is where your code will start executing. Inside the method, define a variable by starting with a type followed by a name and value. We can then print it to the standard output using the built in System class. Now, because we're inside of a class, we define functions as methods on this class. The public keyword means that it can be used outside of this class and static means that it's a member of the class itself as opposed to an instance of the class.

We then provide a type and name and return a value from it. You can define your own custom which are blueprints for objects, then add attributes and methods to them. Use the new keyword to instantiate an object from the class. It feels very object oriented, but has evolved to support functional patterns like anonymous lambda methods. When your program is finished, use the compiler to generate a dot class file which contains the bytecode.

Now use the Java command to tell the JVM to interpret and run that file. Congratulations. You just built an enterprise grade application. This has been Java in 100 seconds. Hit subscribe for more short videos like this, and if we somehow get to 100,000 likes on this video, I'll do a full Java tutorial.

Thanks you're watching, and I will see you in the next one.
Java. A high level, multi paradigm programming language famous for its ability to compile to platform independent bytecode. It was designed by James Gosling in 1990 at Sun Microsystems. One of its first demonstrations was the star 7 PDA, which gave birth to the Java mascot, Duke. Today, it's one of the world's most popular programming languages.
languages
It powers enterprise web apps with Spring Framework, big data pipelines with Hadoop, mobile collapse on Android and even things like the controller for NASA's Maestro Mars Rover.
What made Java innovative is that instead of compiling to machine code, like c or c+, it compiles to bytecode that can run on any operating system without recompiling, which is made possible by executing the code with the Java Virtual Machine or JVM. It's both a compiled and interpreted language at the same time. The computer just needs to have the Java runtime environment or JRE installed, and most of them do. For developers, this means write once, run anywhere. It's a strongly typed language with a curly brace syntax similar to the c family. However, it provides more high level features like garbage collection, a runtime type checking and reflection. To get started, install the Java Development Kit or JDK, then create a file ending in dot Java.
software development
software
programming
Every Java program starts with a class name, which should also match the file name. The class is required to have a main method. This is where your code will start executing. Inside the method, define a variable by starting with a type followed by a name and value. We can then print it to the standard output using the built in System class. Now, because we're inside of a class, we define functions as methods on this class. The public keyword means that it can be used outside of this class and static means that it's a member of the class itself as opposed to an instance of the class. We then provide a type and name and return a value from it. You can define your own custom which are blueprints for objects, then add attributes and methods to them.
Use the new keyword to instantiate an object from the class. It feels very object oriented, but has evolved to support functional patterns like anonymous lambda methods. When your program is finished, use the compiler to generate a dot class file which contains the bytecode. Now use the Java command to tell the JVM to interpret and run that file. Congratulations. You just built an enterprise grade application. This has been Java in 100 seconds. Hit subscribe for more short videos like this, and if we somehow get to 100,000 likes on this video, I'll do a full Java tutorial. Thanks you're watching, and I will see you in the next one.
programming
video gaming
youtube
software development
Java. A high level, multi paradigm programming language famous for its ability to compile to platform independent bytecode. It was designed by James Gosling in 1990 at Sun Microsystems. One of its first demonstrations was the star 7 PDA, which gave birth to the Java mascot, Duke. Today, it's one of the world's most popular programming languages. It powers enterprise web apps with Spring Framework, big data pipelines with Hadoop, mobile collapse on Android and even things like the controller for NASA's Maestro Mars Rover. What made Java innovative is that instead of compiling to machine code, like c or c+, it compiles to bytecode that can run on any operating system without recompiling, which is made possible by executing the code with the Java Virtual Machine or JVM. It's both a compiled and interpreted language at the same time. The computer just needs to have the Java runtime environment or JRE installed, and most of them do. For developers, this means write once, run anywhere. It's a strongly typed language with a curly brace syntax similar to the c family. However, it provides more high level features like garbage collection, a runtime type checking and reflection. To get started, install the Java Development Kit or JDK, then create a file ending in dot Java. Every Java program starts with a class name, which should also match the file name. The class is required to have a main method. This is where your code will start executing. Inside the method, define a variable by starting with a type followed by a name and value. We can then print it to the standard output using the built in System class. Now, because we're inside of a class, we define functions as methods on this class. The public keyword means that it can be used outside of this class and static means that it's a member of the class itself as opposed to an instance of the class. We then provide a type and name and return a value from it. You can define your own custom which are blueprints for objects, then add attributes and methods to them. Use the new keyword to instantiate an object from the class. It feels very object oriented, but has evolved to support functional patterns like anonymous lambda methods. When your program is finished, use the compiler to generate a dot class file which contains the bytecode. Now use the Java command to tell the JVM to interpret and run that file. Congratulations. You just built an enterprise grade application. This has been Java in 100 seconds. Hit subscribe for more short videos like this, and if we somehow get to 100,000 likes on this video, I'll do a full Java tutorial. Thanks you're watching, and I will see you in the next one.
Java.
java
A
a
high
high
level,
level
multi
multi
paradigm
paradigm
programming
programming
language
language
famous
famous
for
for
its
its
ability
ability
to
to
compile
compile
to
to
platform
platform
independent
independent
bytecode.
bytecode
It
it
was
was
designed
designed
by
by
James
james
Gosling
gosling
in
in
1990
1990
at
at
Sun
sun
Microsystems.
microsystems
One
one
of
of
its
its
first
first
demonstrations
demonstrations
was
was
the
the
star
star
7
7
PDA,
pda
which
which
gave
gave
birth
birth
to
to
the
the
Java
java
mascot,
mascot
Duke.
duke
Today,
today
it's
it's
one
one
of
of
the
the
world's
world's
most
most
popular
popular
programming
programming
languages.
languages
It
it
powers
powers
enterprise
enterprise
web
web
apps
apps
with
with
Spring
spring
Framework,
framework
big
big
data
data
pipelines
pipelines
with
with
Hadoop,
hadoop
mobile
mobile
collapse
collapse
on
on
Android
android
and
and
even
even
things
things
like
like
the
the
controller
controller
for
for
NASA's
nasa's
Maestro
maestro
Mars
mars
Rover.
rover
What
what
made
made
Java
java
innovative
innovative
is
is
that
that
instead
instead
of
of
compiling
compiling
to
to
machine
machine
code,
code
like
like
c
c
or
or
c+,
c+
it
it
compiles
compiles
to
to
bytecode
bytecode
that
that
can
can
run
run
on
on
any
any
operating
operating
system
system
without
without
recompiling,
recompiling
which
which
is
is
made
made
possible
possible
by
by
executing
executing
the
the
code
code
with
with
the
the
Java
java
Virtual
virtual
Machine
machine
or
or
JVM.
jvm
It's
it's
both
both
a
a
compiled
compiled
and
and
interpreted
interpreted
language
language
at
at
the
the
same
same
time.
time
The
the
computer
computer
just
just
needs
needs
to
to
have
have
the
the
Java
java
runtime
runtime
environment
environment
or
or
JRE
jre
installed,
installed
and
and
most
most
of
of
them
them
do.
do
For
for
developers,
developers
this
this
means
means
write
write
once,
once
run
run
anywhere.
anywhere
It's
it's
a
a
strongly
strongly
typed
typed
language
language
with
with
a
a
curly
curly
brace
brace
syntax
syntax
similar
similar
to
to
the
the
c
c
family.
family
However,
however
it
it
provides
provides
more
more
high
high
level
level
features
features
like
like
garbage
garbage
collection,
collection
a
a
runtime
runtime
type
type
checking
checking
and
and
reflection.
reflection
To
to
get
get
started,
started
install
install
the
the
Java
java
Development
development
Kit
kit
or
or
JDK,
jdk
then
then
create
create
a
a
file
file
ending
ending
in
in
dot
dot
Java.
java
Every
every
Java
java
program
program
starts
starts
with
with
a
a
class
class
name,
name
which
which
should
should
also
also
match
match
the
the
file
file
name.
name
The
the
class
class
is
is
required
required
to
to
have
have
a
a
main
main
method.
method
This
this
is
is
where
where
your
your
code
code
will
will
start
start
executing.
executing
Inside
inside
the
the
method,
method
define
define
a
a
variable
variable
by
by
starting
starting
with
with
a
a
type
type
followed
followed
by
by
a
a
name
name
and
and
value.
value
We
we
can
can
then
then
print
print
it
it
to
to
the
the
standard
standard
output
output
using
using
the
the
built
built
in
in
System
system
class.
class
Now,
now
because
because
we're
we're
inside
inside
of
of
a
a
class,
class
we
we
define
define
functions
functions
as
as
methods
methods
on
on
this
this
class.
class
The
the
public
public
keyword
keyword
means
means
that
that
it
it
can
can
be
be
used
used
outside
outside
of
of
this
this
class
class
and
and
static
static
means
means
that
that
it's
it's
a
a
member
member
of
of
the
the
class
class
itself
itself
as
as
opposed
opposed
to
to
an
an
instance
instance
of
of
the
the
class.
class
We
we
then
then
provide
provide
a
a
type
type
and
and
name
name
and
and
return
return
a
a
value
value
from
from
it.
it
You
you
can
can
define
define
your
your
own
own
custom
custom
which
which
are
are
blueprints
blueprints
for
for
objects,
objects
then
then
add
add
attributes
attributes
and
and
methods
methods
to
to
them.
them
Use
use
the
the
new
new
keyword
keyword
to
to
instantiate
instantiate
an
an
object
object
from
from
the
the
class.
class
It
it
feels
feels
very
very
object
object
oriented,
oriented
but
but
has
has
evolved
evolved
to
to
support
support
functional
functional
patterns
patterns
like
like
anonymous
anonymous
lambda
lambda
methods.
methods
When
when
your
your
program
program
is
is
finished,
finished
use
use
the
the
compiler
compiler
to
to
generate
generate
a
a
dot
dot
class
class
file
file
which
which
contains
contains
the
the
bytecode.
bytecode
Now
now
use
use
the
the
Java
java
command
command
to
to
tell
tell
the
the
JVM
jvm
to
to
interpret
interpret
and
and
run
run
that
that
file.
file
Congratulations.
congratulations
You
you
just
just
built
built
an
an
enterprise
enterprise
grade
grade
application.
application
This
this
has
has
been
been
Java
java
in
in
100
100
seconds.
seconds
Hit
hit
subscribe
subscribe
for
for
more
more
short
short
videos
videos
like
like
this,
this
and
and
if
if
we
we
somehow
somehow
get
get
to
to
100,000
100,000
likes
likes
on
on
this
this
video,
video
I'll
i'll
do
do
a
a
full
full
Java
java
tutorial.
tutorial
Thanks
thanks
you're
you're
watching,
watching
and
and
I
i
will
will
see
see
you
you
in
in
the
the
next
next
one.
one
success
In this video, the speaker explains the history and features of Java, a language used to compile and run web apps. The language has a highly expressive writing engine that allows developers to write code on any operating system without the need for a Java sprint. The language has a class name, defined functions, and a method to generate a class file. The speaker also provides a tutorial on creating an enterprise-grade application using Java.
Java in 100 Seconds
Java. A high level, multi paradigm programming language famous for its ability to compile to platform independent bytecode. It was designed by James Gosling in 1990 at Sun Microsystems. One of its first demonstrations was the star 7 PDA, which gave birth to the Java mascot, Duke. Today, it's one of the world's most popular programming languages. It powers enterprise web apps with Spring Framework, big data pipelines with Hadoop, mobile collapse on Android and even things like the controller for NASA's Maestro Mars Rover. What made Java innovative is that instead of compiling to machine code, like c or c+, it compiles to bytecode that can run on any operating system without recompiling, which is made possible by executing the code with the Java Virtual Machine or JVM. It's both a compiled and interpreted language at the same time. The computer just needs to have the Java runtime environment or JRE installed, and most of them do. For developers, this means write once, run anywhere. It's a strongly typed language with a curly brace syntax similar to the c family. However, it provides more high level features like garbage collection, a runtime type checking and reflection. To get started, install the Java Development Kit or JDK, then create a file ending in dot Java. Every Java program starts with a class name, which should also match the file name. The class is required to have a main method. This is where your code will start executing. Inside the method, define a variable by starting with a type followed by a name and value. We can then print it to the standard output using the built in System class. Now, because we're inside of a class, we define functions as methods on this class. The public keyword means that it can be used outside of this class and static means that it's a member of the class itself as opposed to an instance of the class. We then provide a type and name and return a value from it. You can define your own custom which are blueprints for objects, then add attributes and methods to them. Use the new keyword to instantiate an object from the class. It feels very object oriented, but has evolved to support functional patterns like anonymous lambda methods. When your program is finished, use the compiler to generate a dot class file which contains the bytecode. Now use the Java command to tell the JVM to interpret and run that file. Congratulations. You just built an enterprise grade application. This has been Java in 100 seconds. Hit subscribe for more short videos like this, and if we somehow get to 100,000 likes on this video, I'll do a full Java tutorial. Thanks you're watching, and I will see you in the next one.
In this video, the speaker explains the history and features of Java, a language used to compile and run web apps. The language has a highly expressive writing engine that allows developers to write code on any operating system without the need for a Java sprint. The language has a class name, defined functions, and a method to generate a class file. The speaker also provides a tutorial on creating an enterprise-grade application using Java.