Java SE 17 Overview
Compiling Java Code context. What does the Hello class example print?
"Hello Pluralsight!"
Compiling Java Code context. What is the file extension for Java source files?
.java
Java Philosophy context - About how many Java developers are there?
10 million worldwide.
Java Openness context - How many Java developers are there worldwide?
10+ million.
Java History context. When was Java first released?
1995
Java History context. When did Java appear in the NYT Crossword puzzle?
2022.
Introducing Java Platform context. What do people often just think Java is?
A programming language.
Java History context. When did the accelerated Java release cadence start?
After Java 9.
Java Philosophy context - What industries use Java?
Almost any industry imaginable.
Java Philosophy context - How are new features tested before release?
As preview features first.
Java Philosophy context - What concept preserves old code on new versions?
Backward compatibility.
Java History context. How many devices run Java?
Billions.
Creating Java Apps context. What does compiling source code produce?
Bytecode - lower level representation executed by JVM.
Java Runtime context - What makes WORA possible in Java?
Bytecode and the JVM.
Summary context. What does the JVM run?
Bytecode compiled from Java source code.
Creating Java Apps context. What does the Java compiler produce?
Bytecode for the application.
Creating Java Apps context. What format are third-party libraries distributed as?
Bytecode.
Java Language context - What family of languages is Java syntax based on?
C family.
Java vs C# context - Which breaks backward compatibility more?
C# has been less backwards compatible.
Java vs C# context - Does C# or Java have more language features?
C# has more features.
Java Philosophy context - How does Java balance innovation and stability?
Carefully evolves language, high bar for new features.
Java Language context - How can Java code be structured?
Classes, packages, modules.
Java Classes context. What does a Java class contain?
Code inside curly braces like methods.
Java Philosophy context - Why is readability important in Java?
Code is read more than written.
Java vs C# context - What .NET platform is comparable to the JVM?
Common Language Runtime (CLR).
Summary context. What does standard library contain?
Common utilities.
Introducing Java Platform context. What's in the standard library?
Commonly used functions to reuse.
Java Language context - Why is Java's OO model productive for large apps?
Encapsulation and hierarchy.
Java History context. When was Java 17 released?
End of 2021.
Java Language context - What does Java's type system help catch?
Errors at compile time.
Java History context. How often were major Java versions released historically?
Every 3-4 years.
Java History context. How often are new major Java versions released now?
Every 6 months.
Java Philosophy context - How often are major Java versions released now?
Every 6 months.
Introducing Java Platform context. What does the runtime environment do?
Executes Java code, abstracts underlying OS/hardware.
Java Philosophy context - Why is understandability important?
For collaboration at scale.
Java Philosophy context - What is the goal of the Java language?
Get the job done for developers.
Java Openness context - Where is Oracle's OpenJDK project hosted?
GitHub.
Compiling Java Code context. What class are we compiling in the example?
Hello
Java Philosophy context - How does Java balance innovation and stability?
High bar for new features.
Java Philosophy context - What would too many language features do?
Increase learning curve.
Java Philosophy context - What is the common Java release cadence?
Incremental improvements.
Compiling Java Code context. What tools are used to compile and run the example?
JDK - javac, java
Java History context. What are the long-term support (LTS) Java versions?
Java 8, 11, 17 - widely adopted.
Java History context. What are the historical Java LTS versions?
Java 8, 11, 17.
Java Openness context - What process oversees the specifications?
Java Community Process (JCP).
Introducing Java Platform context. What do the 3 parts bundle into?
Java Development Kit (JDK).
Summary context. What do language, runtime, and libraries form?
Java Development Kit (JDK).
Creating Java Apps context. What does bytecode run on?
Java Runtime Environment.
Java Openness context - What events bring Java developers together?
Java User Groups.
Creating Java Apps context. What runs bytecode?
Java Virtual Machine (JVM).
Summary context. What is the runtime environment also known as?
Java Virtual Machine (JVM).
Java Openness context - What specification covers the Java runtime?
Java Virtual Machine Specification.
Creating Java Apps context. What language is used to write source code?
Java programming language.
Introducing Java Platform context. What does the Java language govern?
Java source code format/syntax.
Java History context. What competing technology sounds similar to Java?
JavaScript.
Java Runtime context - What provides platform-specific optimization?
Just-in-time (JIT) compilation.
Summary context. What are the 3 parts of the Java platform?
Language, runtime, standard library.
Creating Java Apps context. What can the JVM translate bytecode into?
Machine instructions.
Java Runtime context - What does a managed runtime manage?
Memory, threads, etc.
Java vs C# context - What ecosystem is .NET associated with?
Microsoft.
Java Openness context - What experimental Java projects are on openjdk.net?
New JEPs.
Java vs JavaScript context - Are JavaScript and Java both statically typed?
No, JavaScript is dynamically typed.
Java vs JavaScript context. Is JavaScript a lightweight version of Java?
No, completely separate.
Java vs JavaScript context - Does JavaScript have a compiler?
No, interpreted language.
Creating Java Apps context. Can source code directly run on a CPU?
No, it must be compiled first.
Java vs C/C++ context - Do C/C++ have automatic memory management?
No, manual memory management.
Java vs C# context - Was .NET always cross platform?
No, originally Windows-only.
Java vs C/C++ context - Are C/C++ platform independent like Java?
No, platform dependent.
Java vs JavaScript context - Does JavaScript have multithreading like Java?
No, single threaded.
Java vs JavaScript context. Is Java related to JavaScript?
No, they are completely separate.
Java Language context - What paradigm did Java popularize in the mainstream?
Object-oriented programming.
Java Philosophy context - What is a key goal of Java language design?
Readability - optimize for reading over writing code.
Creating Java Apps context. What does the JVM run on?
Real hardware/OS.
Introducing Java Platform context. Why use the standard library?
Reuse for productivity.
Compiling Java Code context. What does javac do?
Runs the Java compiler.
Introducing Java Platform context. What is the 2nd part of the platform besides language?
Runtime environment.
Java History context. Where does Java run today, from small to large?
Smartcards to cloud servers.
Creating Java Apps context. What does SE stand for in Java SE?
Standard Edition - one edition of Java.
Creating Java Apps context. What does SE stand for in Java SE API?
Standard Edition API.
Introducing Java Platform context. What is the 3rd part of the Java platform?
Standard library.
Compiling Java Code context. What does java do?
Starts the JVM to run bytecode.
Introducing Java Platform context. What do the 3 parts together form?
The Java Development Kit (JDK).
Compiling Java Code context. What translates bytecode to machine instructions?
The Java Virtual Machine (JVM).
Introducing Java Platform context. What are the 3 main parts of the Java platform?
The Java programming language, runtime environment, standard library.
Compiling Java Code context. What is contained in a .class file?
The bytecode compiled from Java source code.
Introducing Java Platform context. What does the Java programming language govern?
The format of Java source code - keywords, syntax rules.
Creating Java Apps context. What are Java SE APIs?
The standard library.
Creating Java Apps context. What do most Java apps use besides standard library?
Third-party libraries.
Java Openness context - How is Java formally specified?
Through the Java Language Specification.
Introducing Java Platform context. What does the JDK contain?
Tools to create and run Java apps like compiler.
Introducing Java Platform context. What does the runtime environment abstract?
Underlying OS and hardware.
Java Philosophy context - What is preferred over clever code in Java?
Understandable code.
Java vs C/C++ context - Are C/C++ managed or unmanaged languages?
Unmanaged.
Java Runtime context - What principle enables Java app portability?
Write once, run anywhere.
Creating Java Apps context. How do you create a Java application?
Write source code, compile to bytecode, run in JVM.
Creating Java Apps context. Where does source code come from?
Written by developers.
Java Openness context - Can multiple vendors implement Java?
Yes, it is open.
Java Classes context. What keyword declares a Java class?
class
Compiling Java Code context. What command runs compiled bytecode?
java
Compiling Java Code context. What command compiles Java source code?
javac