What is Java?
Write Once, Run Anywhere (WORA)
History of Java
Java Virtual Machine (JVM)
Contributions of Java
100

True or False: Java is a low-level language.

False

100

What part of Java allows WORA to happen?

The JVM (Java Virtual Machine)

100

What was the goal of the Green Project?

To create a programming language for smart devices

100

Is JVM hardware or software?

Software

100

Name a modern language that runs on the JVM.

Kotlin, Scala, Groovy, Jython

200

What makes Java a “platform-independent” language?

It can run on any system with a JVM

200

WORA helps programmers save time. Why?

They don’t have to rewrite code for each platform

200

What was Java named after?

Java coffee from Indonesia

200

What does the JVM read to run a Java program?

Bytecode

200

What type of programming model does Java help promote?

Object-Oriented Programming (OOP)

300

Why is Java called a “class-based” language?

Because all code is organized in classes

300

Can a Java program run on a smartphone and a laptop if both have JVM?

Yes

300

Who were the two other key members of the Green Team (aside from Gosling)?

Mike Sheridan and Patrick Naughton

300

What is the JVM often compared to, in music?

A musician that plays the notes (Java code) correctly

300

Java's syntax influenced which Microsoft language?

C#

400

What is one benefit of Java being object-oriented?

Easier to reuse, organize, and manage code

400

Can Java code run on a system without a JVM? Why or why not?

No, because the JVM is needed to interpret Java bytecode.

400

Explain how Sun Microsystems helped Java grow.

By open-sourcing it and providing tools (JDK, applets) for developers.

400

Name one responsibility of the JVM besides running code.

Memory management, security, or multithreading

400

What platform or area is Java commonly used for in big companies?

Enterprise systems (banks, insurance, etc.)

500

What’s the main difference between a “class” and an “object” in Java?

A class defines what an object is, and an object is a real-world example of that class.

500

Describe a situation where WORA would be especially useful.  

Writing one program for school computers (Windows) and tablets (Android/Linux).

500

Why was Java originally created for embedded devices like TVs?

The Green Team wanted a lightweight, secure, and portable language.

500

JVM supports multithreading. What does this mean?

It can run multiple tasks at once within the same program.

500

What does it mean when we say Java inspired “strong typing” in modern languages?

Variables must be declared with specific data types and checked at compile time.