Search test library by skills or roles
⌘ K

About the test:

The Java Spring Hibernate Test evaluates candidates' skills in Java programming language and its frameworks Spring and Hibernate using scenario-based MCQs. The key skills/topics evaluated in the test include knowledge of Spring framework, understanding of Hibernate ORM, familiarity with Java concepts like interfaces, inheritance and abstraction, understanding of web services, experience with data structures and algorithms, and knowledge of software design patterns. The test also include a coding question to check hands-on programming skills.

Covered skills:

  • 数组
  • 字符串
  • 对象
  • 数据结构
See all covered skills

9 reasons why
9 reasons why

Adaface Java, Spring & Hibernate Online Test is the most accurate way to shortlist Java Developers



Reason #1

Tests for on-the-job skills

The Java, Spring & Hibernate Test helps recruiters and hiring managers identify qualified candidates from a pool of resumes and take objective hiring decisions. It reduces the administrative overhead of interviewing too many candidates and saves expensive engineering time by filtering out unqualified candidates.

You can use the Adaface Java, Spring & Hibernate Test to screen candidates for the following roles:

  • Java Developer
  • Full Stack Java Developer
  • Backend Developer
  • Java Programmer
  • Enterprise Java Developer
Reason #2

No trick questions

no trick questions

Traditional assessment tools use trick questions and puzzles for the screening, which creates a lot of frustration among candidates about having to go through irrelevant screening assessments.

The main reason we started Adaface is that traditional pre-employment assessment platforms are not a fair way for companies to evaluate candidates. At Adaface, our mission is to help companies find great candidates by assessing on-the-job skills required for a role.

Why we started Adaface ->
Reason #3

Non-googleable questions

We have a very high focus on the quality of questions that test for on-the-job skills. Every question is non-googleable and we have a very high bar for the level of subject matter experts we onboard to create these questions. We have crawlers to check if any of the questions are leaked online. If/ when a question gets leaked, we get an alert. We change the question for you & let you know.

这些只是我们库中有10,000多个问题的一个小样本。关于此的实际问题 Java, Spring & Hibernate Test 将是不可行的.

🧐 Question

Easy

Custom Exception
Exceptions
Solve
What does the following code output?
 image

Hard

Holding References
Solve
What does the following Java code output?
 image

Medium

Abstract Interface
OOPs
Interfaces
Solve
Given following interface:
 image
Which of these are correct classes?
 image

Medium

Garbage Collection
Garbage Collection
Solve
After which line is "bs" object, created on Line 4, eligible for garbage collection?
 image

Hard

Static Init Blocks
OOPs
Solve
What does the following code output?
 image
1) G A B E D H
2) G B A D E H
3) G B A D E H C F
4) C F G A B E D H
5) C F G B A D E H
6) G C F A B E D H
7) G C F B A D E H

Medium

Autowiring Service
Solve
Review the following two Spring components- SampleA and SampleB:
 image
 image
Notice @Autowired line added to SampleService in SampleB (rest of the code is same for both components). What happens when the components are run as a @SpringBootApplication?
A: SampleA prints true null
B: SampleA prints true class package.SampleService
C: SampleA throws a null pointer exception
D: SampleA prints false null

E: SampleB prints true null
F: SampleB prints true class package.SampleService
G: SampleB throws a null pointer exception
H: SampleB prints false null

Medium

Bean init and afterPropertiesSet
Beans
Solve
Spring allows specific operations to be performed after the bean is initialized and before the bean is destroyed. Review the following sample Bean that implements init method and overrides afterPropertiesSet. 
 image
Here’s the bean definition added to the configuration file:
 image
What does the code print when the Spring container is started?

Medium

Boot Autowiring
Spring Boot
Solve
Review the following Spring Boot application code:
 image
Here are two possible SampleConfig class definitions:
 image
When the code is run as @SpringBootApplication, what would happen?

A: Using X as SampleConfig will print- true SimpleDateFormat
B: Using X as SampleConfig will print - true class java.text.SimpleDateFormat
C: Using X as SampleConfig will print a NullPointerException stacktrace
D: Using X as SampleConfig will print a BeanDefinitionParsingException stacktrace

E: Using Y as SampleConfig will print- true SimpleDateFormat
F: Using Y as SampleConfig will print - true class java.text.SimpleDateFormat
G: Using Y as SampleConfig will print a NullPointerException stacktrace
H: Using Y as SampleConfig will print a BeanDefinitionParsingException stacktrace

Medium

EntityManager
Solve
Here's a way to insert 100,000 entries into Hibernate:
 image
Which of the following statements are true about this implementation?
A: The code might fail with OutOfMemoryException
B: Long running transactions can deplete connection pool
C: Every insert statement requires a database roundtrip

Easy

Registration Queue
Logic
Queues
Solve
We want to register students for the next semester. All students have a receipt which shows the amount pending for the previous semester. A positive amount (or zero) represents that the student has paid extra fees, and a negative amount represents that they have pending fees to be paid. The students are in a queue for the registration. We want to arrange the students in a way such that the students who have a positive amount on the receipt get registered first as compared to the students who have a negative amount. We are given a queue in the form of an array containing the pending amount.
For example, if the initial queue is [20, 70, -40, 30, -10], then the final queue will be [20, 70, 30, -40, -10]. Note that the sequence of students should not be changed while arranging them unless required to meet the condition.
⚠️⚠️⚠️ Note:
- The first line of the input is the length of the array. The second line contains all the elements of the array.
- The input is already parsed into an array of "strings" and passed to a function. You will need to convert string to integer/number type inside the function.
- You need to "print" the final result (not return it) to pass the test cases.

For the example discussed above, the input will be:
5
20 70 -40 30 -10

Your code needs to print the following to the standard output:
20 70 30 -40 -10

Medium

Visitors Count
Strings
Logic
Solve
A manager hires a staff member to keep a record of the number of men, women, and children visiting the museum daily. The staff will note W if any women visit, M for men, and C for children. You need to write code that takes the string that represents the visits and prints the count of men, woman and children. The sequencing should be in decreasing order. 
Example:

Input:
WWMMWWCCC

Expected Output: 
4W3C2M

Explanation: 
‘W’ has the highest count, then ‘C’, then ‘M’. 
⚠️⚠️⚠️ Note:
- The input is already parsed and passed to a function.
- You need to "print" the final result (not return it) to pass the test cases.
- If the input is- “MMW”, then the expected output is "2M1W" since there is no ‘C’.
- If any of them have the same count, the output should follow this order - M, W, C.
🧐 Question🔧 Skill

Easy

Custom Exception
Exceptions
2 mins
Java
Solve

Hard

Holding References
2 mins
Java
Solve

Medium

Abstract Interface
OOPs
Interfaces
2 mins
Java
Solve

Medium

Garbage Collection
Garbage Collection
2 mins
Java
Solve

Hard

Static Init Blocks
OOPs
2 mins
Java
Solve

Medium

Autowiring Service
3 mins
Spring
Solve

Medium

Bean init and afterPropertiesSet
Beans
2 mins
Spring
Solve

Medium

Boot Autowiring
Spring Boot
3 mins
Spring
Solve

Medium

EntityManager
3 mins
Hibernate
Solve

Easy

Registration Queue
Logic
Queues
30 mins
Coding
Solve

Medium

Visitors Count
Strings
Logic
30 mins
Coding
Solve
🧐 Question🔧 Skill💪 Difficulty⌛ Time
Custom Exception
Exceptions
Java
Easy2 mins
Solve
Holding References
Java
Hard2 mins
Solve
Abstract Interface
OOPs
Interfaces
Java
Medium2 mins
Solve
Garbage Collection
Garbage Collection
Java
Medium2 mins
Solve
Static Init Blocks
OOPs
Java
Hard2 mins
Solve
Autowiring Service
Spring
Medium3 mins
Solve
Bean init and afterPropertiesSet
Beans
Spring
Medium2 mins
Solve
Boot Autowiring
Spring Boot
Spring
Medium3 mins
Solve
EntityManager
Hibernate
Medium3 mins
Solve
Registration Queue
Logic
Queues
Coding
Easy30 minsSolve
Visitors Count
Strings
Logic
Coding
Medium30 minsSolve
Reason #4

1200+ customers in 75 countries

customers in 75 countries
Brandon

借助Adaface,我们能够优化我们的初始筛查过程超过75%,从而为招聘经理和我们的人才获取团队提供了宝贵的时间!


Brandon Lee, 人的负责人, Love, Bonito

Reason #5

Designed for elimination, not selection

The most important thing while implementing the pre-employment Java, Spring & Hibernate Test in your hiring process is that it is an elimination tool, not a selection tool. In other words: you want to use the test to eliminate the candidates who do poorly on the test, not to select the candidates who come out at the top. While they are super valuable, pre-employment tests do not paint the entire picture of a candidate’s abilities, knowledge, and motivations. Multiple easy questions are more predictive of a candidate's ability than fewer hard questions. Harder questions are often "trick" based questions, which do not provide any meaningful signal about the candidate's skillset.

Reason #6

1 click candidate invites

Email invites: You can send candidates an email invite to the Java, Spring & Hibernate Test from your dashboard by entering their email address.

Public link: You can create a public link for each test that you can share with candidates.

API or integrations: You can invite candidates directly from your ATS by using our pre-built integrations with popular ATS systems or building a custom integration with your in-house ATS.

invite candidates
Reason #7

Detailed scorecards & benchmarks

Reason #8

High completion rate

Adaface tests are conversational, low-stress, and take just 25-40 mins to complete.

This is why Adaface has the highest test-completion rate (86%), which is more than 2x better than traditional assessments.

test completion rate
Reason #9

Advanced Proctoring


What topics are covered in the Java, Spring & Hibernate Online Test?

数组
对象
字符串
数据结构
反射API
功能编程
Lambdas
流动API
常用表达
JDBC
使用数据库
序列化和除外序列化
面向对象的编程(OOP)
类和对象
Web应用程序编程
注释
选项
模块
Java 8日期/时间API
列表,设置,地图接口
坚硬的
Java收藏框架
搜索
排序
变量
数据类型
JSP
servlets
仿制药
多线程
异常处理
文件系统处理
遗产
多态性
调试
矩阵
事件驱动的编程
春季引导
弹簧核-IOC
春季MVC
春季aop
春季数据JPA
春季休息
春季安全性
依赖注射
自动
豆子的范围
原型
辛格尔顿
豆的生命周期
注释
@postConstruct
@predestroy
@成分
@服务
@repository
@控制器
春季启动自动配置
Spring Boot开发人员工具
春季环境特性
春季启动应用程序属性
使用Spring JDBC执行数据库操作
Spring Boot
Spring Core - IoC
Spring MVC
Spring AOP
Spring Data JPA
Spring REST
Spring Security
Dependency Injection
Autowiring
Scope of a Bean
Prototype
Singleton
Lifecycle of a Bean
Annotations
@PostConstruct
@PreDestroy
@Component
@Service
@Repository
@Controller
Spring Boot Auto Configuration
Spring Boot Developer Tools
Spring Environment Properties
Spring Boot Application Properties
Perform database operations using Spring JDBC
ORM(对象关系映射)
存储过程查询
休眠策略
休眠中的会议
冬眠的层次结构
计算机基础
信件编码
数字编码
替代
编码编码难题
非语言推理
SQL概念
商业分析
编码编码
编程语言
计算机架构
基本DBMS概念
坚实的原则
自动化系统
做决定
非语言推理
解决问题的方法
Singapore government logo

招聘经理认为,通过小组访谈中他们提出的技术问题,他们能够分辨哪些候选人的得分更好,并且与未得分的人有区别。他们是 非常满意 随着候选人的质量入围了Adaface筛查。


85%
减少筛查时间

常见问题解答

我可以将多个技能结合在一起,为一个自定义评估吗?

是的,一点没错。自定义评估是根据您的职位描述进行的,并将包括有关您指定的所有必备技能的问题。

您是否有任何反交换或策略功能?

我们具有以下反交易功能:

  • 不可解决的问题
  • IP策略
  • Web Protoring
  • 网络摄像头Proctoring
  • 窃检测
  • 安全浏览器

阅读有关[Proctoring功能](https://www.adaface.com/proctoring)的更多信息。

如何解释考试成绩?

要记住的主要问题是评估是消除工具,而不是选择工具。优化了技能评估,以帮助您消除在技术上没有资格担任该角色的候选人,它没有进行优化以帮助您找到该角色的最佳候选人。因此,使用评估的理想方法是确定阈值分数(通常为55%,我们为您提供基准测试),并邀请所有在下一轮面试中得分高于门槛的候选人。

我可以使用该测试的经验水平?

每个ADAFACE评估都是为您的职位描述/理想候选角色定制的(我们的主题专家将从我们的10000多个问题的图书馆中选择正确的问题)。可以为任何经验级别定制此评估。

每个候选人都会得到同样的问题吗?

是的,这使您比较候选人变得容易得多。 MCQ问题的选项和问题顺序是随机的。我们有[抗欺骗/策略](https://www.adaface.com/proctoring)功能。在我们的企业计划中,我们还可以选择使用类似难度级别的问题创建多个版本的相同评估。

我是候选人。我可以尝试练习测试吗?

不,不幸的是,我们目前不支持实践测试。但是,您可以使用我们的[示例问题](https://www.adaface.com/questions)进行练习。

使用此测试的成本是多少?

您可以查看我们的[定价计划](https://www.adaface.com/pricing/)。

我可以免费试用吗?

我刚刚搬到了一个付费计划。我如何要求自定义评估?

customers across world
Join 1200+ companies in 75+ countries.
立即尝试最候选的友好技能评估工具。
g2 badges
Ready to use the Adaface Java, Spring & Hibernate Test?
Ready to use the Adaface Java, Spring & Hibernate Test?
与我们聊天
logo
40 min tests.
No trick questions.
Accurate shortlisting.
术语 隐私 信任指南

🌎选择您的语言

English Norsk Dansk Deutsche Nederlands Svenska Français Español Chinese (简体中文) Italiano Japanese (日本語) Polskie Português Russian (русский)
ada
Ada
● Online
Previous
Score: NA
Next
✖️