Recall & Review
beginner
What is JDK and why is it important for Java development?
JDK stands for Java Development Kit. It includes tools to write, compile, and run Java programs. Without JDK, you cannot create or run Java applications.
Click to reveal answer
beginner
Name two popular IDEs used for Java development.
Two popular IDEs for Java are IntelliJ IDEA and Eclipse. They help write code faster with features like auto-completion and debugging.
Click to reveal answer
beginner
What is the role of an IDE in Selenium Java testing?
An IDE helps write, organize, and run Selenium test scripts in Java. It provides tools to manage code, run tests, and see errors easily.
Click to reveal answer
beginner
How do you verify if JDK is installed correctly on your system?
Open a command prompt or terminal and type
java -version and javac -version. If both show version numbers, JDK is installed properly.Click to reveal answer
intermediate
Why is setting the JAVA_HOME environment variable important?
JAVA_HOME tells your system where JDK is installed. Many tools like Maven or Selenium need this to find Java and work correctly.
Click to reveal answer
What does JDK stand for?
✗ Incorrect
JDK means Java Development Kit, which includes tools to develop Java programs.
Which command checks the Java compiler version?
✗ Incorrect
javac -version shows the Java compiler version.Which of these is NOT a Java IDE?
✗ Incorrect
Visual Studio Code is a code editor, not a full Java IDE, though it can be extended.
Why set the JAVA_HOME environment variable?
✗ Incorrect
JAVA_HOME points to the JDK location so tools can find Java.
Which tool helps write and debug Selenium Java tests?
✗ Incorrect
An IDE helps write and debug Selenium Java test scripts.
Explain the steps to set up Java environment for Selenium testing.
Think about what you need before writing Java Selenium tests.
You got /4 concepts.
Why is an IDE useful when writing Selenium tests in Java?
Consider how an IDE helps beyond just typing code.
You got /4 concepts.