Advanced Java Concepts

Tap or click on cards to flip them and reveal the answers. You can use arrow keys as well.

1/15 cards
What are Java annotations?
Click to flip
Annotations provide metadata about the program, are not part of the program itself, and have no direct effect on program semantics.
Click to flip
What is a Java package?
Click to flip
A Java package is a namespace for organizing classes and interfaces, helping resolve naming conflicts and controlling access.
Click to flip
Explain exception handling in Java.
Click to flip
Exception handling in Java is a powerful mechanism that handles runtime errors to maintain the normal flow of the application.
Click to flip
What is a Java servlet?
Click to flip
A Java servlet is a Java program that extends the capabilities of a server, handling requests and responses for web applications.
Click to flip
What is JDBC in Java?
Click to flip
Java Database Connectivity (JDBC) is a Java API that manages connecting to a database, issuing queries, and handling result sets.
Click to flip
What is the purpose of the Stream API in Java 8?
Click to flip
The Stream API provides a modern way to process collections of objects with concise and functional programming style operations.
Click to flip
How does garbage collection work in Java?
Click to flip
Garbage collection in Java is the process of automatically freeing up memory by deleting unreachable objects.
Click to flip
What are Lambdas in Java?
Click to flip
Lambdas allow you to define anonymous methods that are passed around as if they were objects.
Click to flip
What is a Java Enum?
Click to flip
An Enum type is a special Java type used to define collections of constants.
Click to flip
Explain Java Collections Framework.
Click to flip
The Collections Framework is a unified architecture for representing and manipulating collections, allowing interoperability among objects.
Click to flip
What is Java generics?
Click to flip
Generics enable types (classes and interfaces) to be parameters, allowing a type-safe way to reuse code.
Click to flip
What is the difference between ‘==’ and ‘.equals()’ in Java?
Click to flip
‘==’ checks if references point to the same object, whereas ‘.equals()’ checks if objects are meaningfully equivalent.
Click to flip
What role do design patterns play in Java?
Click to flip
Design patterns provide solutions to common software design problems and help in building reusable and scalable software.
Click to flip
What is a Singleton pattern in Java?
Click to flip
A Singleton ensures that a class has only one instance and provides a global point of access to it.
Click to flip
What is Reflection in Java?
Click to flip
Reflection is an API which is used to examine or modify the runtime behavior of applications running in the Java Virtual Machine.
Click to flip

Need More Study Materials?

Go back to the chat to generate additional resources.

Create More Resources