Flashcard 1
Q: What will this course cover?
A: Java basics, advanced concepts, Git basics, core Java APIs, utility classes, data structures
like Arrays and ArrayLists, and more.
Flashcard 2
Q: What is the prerequisite for this course?
A: Basic computer skills and an eagerness to learn programming. No prior knowledge of Java
or Git is required.
Flashcard 3
Q: How do you set up the Java Development Kit (JDK)?
A: Download and install the JDK from the official Oracle website, set up JAVA_HOME, and
update the system path to include the bin directory.
Flashcard 4
Q: What is a Java class, and how do you create one?
A: A Java class is a blueprint for creating objects. Use the class keyword followed by the class
name and curly braces.
Flashcard 5
Q: How do you set up Git on your system?
A: Download and install Git, then configure your username and email with git config --global.
Flashcard 6
Q: What is the purpose of a Git repository?
A: To track file changes and manage versions, allowing collaboration and version control.
Flashcard 7
Q: What are the basic types of operators in Java?
A: Arithmetic, relational, logical, and assignment operators.
Flashcard 8
Q: How do if-else statements work in Java?
A: They execute certain code blocks based on specified conditions.
Flashcard 9
Q: What is the difference between == and equals() in Java?
A: == checks for reference equality, while equals() checks for value equality.
Flashcard 10
Q: What is an enhanced for loop, and when is it used?
A: It's used for iterating over arrays or collections, simplifying code by eliminating the need
for an index.