Flashcards

Quick study sessions to strengthen memory and retain key concepts.

Flashcard Study

Java: Dependency Management

Front

What are transitive dependencies in build tools?

Dependencies automatically included because they are required by your direct dependencies. When you add a library to your…

View Card →
Flashcard Study

Java: Dependency Management

Front

How do build tools like Maven and Gradle manage dependencies?

They use centralized files like pom.xml or build.gradle. These files allow you to declare necessary libraries in one…

View Card →
Flashcard Study

Java: Dependency Management

Front

Why inspect the dependency tree?

To find transitive version conflicts when behavior changes without obvious code edits. A newly added dependency can bring…

View Card →
Flashcard Study

Java: Continuous Integration

Front

What makes a build reproducible?

One consistent wrapper entrypoint, one pinned toolchain, and dependency sanity across local and CI. A reproducible build means…

View Card →
Flashcard Study

Java: Build Lifecycle

Front

How would you explain a Maven dependency scope in an interview?

It defines the dependency's availability. Frame the concept in practical terms so you can explain it during interview…

View Card →
Flashcard Study

Java: Build Lifecycle

Front

How to handle flaky tests in CI/CD?

Identify and stabilize them. Frame the concept in practical terms so you can explain it during interview discussion.…

View Card →
Flashcard Study

Java: Build Lifecycle

Front

Why does 'install' in Maven matter in this design?

It installs the package to the local repository. During the 'install' phase, Maven copies the package to the…

View Card →
Flashcard Study

Java: Build Lifecycle

Front

Why prefer automated over manual testing?

It's faster and more reliable. Frame the concept in practical terms so you can explain it during interview…

View Card →
Flashcard Study

Java: Build Lifecycle

Front

How do build failures impact deployment?

They prevent deployment artifacts. Frame the concept in practical terms so you can explain it during interview discussion.…

View Card →
Flashcard Study

Java: Build Lifecycle

Front

How does Mockito help in unit tests?

It isolates the unit under test. Frame the concept in practical terms so you can explain it during…

View Card →