Courses
Tutorials
Jobs
Practice
Contests
Data Structure
Java
Python
HTML
Interview Preparation
Trending Now
DSA
Web Tech
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
System Design
Django
DevOps Tutorial
Java
C
C++
ReactJS
NodeJS
CP Live
Aptitude
Puzzles
Projects
JBDL | Weekly Contest_4 | Question 4
What is the primary role of Spring's Inversion of Control container? (A)Managing HTTP requests(B)Managing application configuration(C)Managing JavaB...
Read More
JBDL | Weekly Contest_4 | Question 3
What does JDBC stand for? (A)Java Data Binding Connector(B)Java Data Bridge(C)Java Database Connectivity(D)Java Database Connector Answer: (C) ...
Read More
JBDL | Weekly Contest_4 | Question 2
Which package contains the JDBC classes and interfaces? (A)javax.jdbc(B)java.db(C)java.sql(D)java.jdbc Answer: (C) Explanati...
Read More
JBDL | Weekly Contest_4 | Question 1
In JDBC, what is the purpose of a DataSource ? (A)To create a new database connection(B)To execute SQL queries(C)To manage a pool of database connec...
Read More
JBDL | Weekly Contest_4 | Question 24
What does the acronym "AOP" stand for in the context of Spring? (A)Asynchronous Operation Programming(B)Advanced Object Processing(C)Application Obj...
Read More
JBDL | Weekly Contest_4 | Question 23
Which Spring annotation is used to specify that a method should be executed before the application context is closed? (A)@PostConstruct(B)@BeforeShu...
Read More
JBDL | Weekly Contest_4 | Question 22
Consider the following Spring configuration for a bean:[tabby title="Java"][sourcecode language="java"] [/sourcecode][tabbyending]How can you achieve the sa...
Read More
JBDL | Weekly Contest_4 | Question 18
Which code snippet demonstrates method injection in Spring?[tabby title="Java"][sourcecode language="java"]@Autowiredpublic void setMyDependency(MyDependency d...
Read More
JBDL | Weekly Contest_4 | Question 17
In Spring, what is the purpose of the following XML configuration snippet?[tabby title="Java"][sourcecode language="java"] [/sourcecode][tabbyending] ...
Read More
JBDL | Weekly Contest_4 | Question 12
Which of the following is NOT a type of transaction propagation behavior in Spring? (A)PROPAGATION_NEVER(B)PROPAGATION_SUPPORTS(C)PROPAGATION_REQUIR...
Read More
JBDL | Weekly Contest_4 | Question 11
Which annotation is used to declare an aspect in Spring AOP? (A)@Aspect(B)@Pointcut(C)@Advice(D)@Bean Answer: (A) Explanatio...
Read More
JBDL | Weekly Contest_4 | Question 9
What is the purpose of the JdbcTemplate class in Spring JDBC? (A)To manage transactions(B)To handle exceptions(C)To simplify database operations and...
Read More
JBDL | Weekly Contest_4 | Question 7
What is the purpose of the @Autowired annotation in Spring? (A)To inject a bean dependency automatically(B)To define the scope of a bean(C)To specif...
Read More
JBDL | Weekly Contest_4 | Question 6
In Spring, what is Dependency Injection (DI)? (A)A way to resolve circular dependencies(B)A design pattern that allows objects to receive their depe...
Read More
JBDL | Weekly Contest_4 | Question 5
Which annotation is used to indicate a class as a Spring bean? (A)@Component(B)@Service(C)@Inject(D)@Bean Answer: (A) Explan...
Read More
1
...
2371
2372
2373
...
11561