1.The central interface in the Spring Data repository abstraction is Repository.
2.Its Marker Interface
2.Its Marker Interface
With version 3.0 we also introduced ListCrudRepository
which is very similar to the CrudRepository but for those methods that return multiple entities it returns a List instead of an Iterable which you might find easier to use.
which is very similar to the CrudRepository but for those methods that return multiple entities it returns a List instead of an Iterable which you might find easier to use.
Spring Boot Latest Version Features Quiz
Time :2.30PM
No. Of Questions:10
Time :2.30PM
No. Of Questions:10
1. Which feature introduced in Spring Boot simplifies the support for observability and distributed tracing in applications?
Anonymous Quiz
43%
Spring Boot DevTools
36%
Spring Boot Actuator
9%
Micrometer
13%
Spring WebFlux
2. In Spring Boot, what is the main purpose of the Spring Boot Actuator?
Anonymous Quiz
77%
To monitor and manage Spring Boot applications in production
18%
To generate boilerplate code for Spring applications
4%
To integrate Spring Boot with JPA
2%
To manage database migrations
Which of the following is a new feature related to native image support in the latest Spring Boot version?
Anonymous Quiz
53%
Full support for GraalVM native images
9%
Integrated Redis support
28%
Better integration with Spring Data
9%
New logging API
In Spring Boot, what is the purpose of the @ConfigurationProperties annotation?
Anonymous Quiz
36%
To define Spring Boot application properties
43%
To map externalized properties (like YAML or properties files) to POJOs
11%
To configure data sources
9%
To define custom security configurations
Which HTTP client is officially supported in the latest Spring Boot version for making asynchronous web requests?
Anonymous Quiz
28%
RestTemplate
40%
WebClient
27%
HttpClient
5%
OkHttp
What is a new feature in the latest Spring Boot version for Kotlin developers?
Anonymous Quiz
30%
Full support for Spring WebFlux
36%
Support for Kotlin Coroutines
30%
New annotations for Java-based applications
4%
GraalVM enhancements
What is the purpose of the @ConditionalOnClass annotation in Spring Boot?
Anonymous Quiz
63%
To conditionally include a Spring bean based on the presence of a class on the classpath
15%
To configure class-level transaction management
13%
To include classes in the final application JAR
9%
To register beans only when classes are available in a package
Which dependency management tool is used by default in Spring Boot projects?
Anonymous Quiz
21%
Gradle
10%
Ant
68%
Maven
2%
lvy
Anyone interested for mock interview??
Which of the following is a new feature introduced in Java 17?
Anonymous Quiz
32%
Switch expressions
13%
Text blocks
38%
Sealed classes
17%
Record classes
What is the main purpose of the sealed keyword in Java 17?
Anonymous Quiz
19%
To allow a class to have unlimited subclasses
41%
To restrict which classes or interfaces can extend or implement a class
30%
To seal the state of an object from modification
10%
To enable dynamic method dispatch
What are Record Classes in Java 17 used for?
Anonymous Quiz
49%
For defining immutable data carriers with minimal boilerplate code.
21%
To create abstract classes.
22%
To define mutable objects with concise syntax.
9%
To replace normal classes.
Which of the following is a preview feature introduced in Java 17?
Anonymous Quiz
38%
Enhanced switch expressions
12%
Text blocks
37%
Pattern matching for switch
13%
Records
What is the purpose of the jpackage tool in Java 17?
Anonymous Quiz
24%
To manage Maven dependencies.
31%
To create native installers for Java applications.
31%
To create JAR files for deployment.
15%
To manage Java modules.