Java Online Testing
Test IT skills

Java Test

Total 30 Questions, Maximum 60 Minutes, For Senior Developers

Online test includes:

Java  -  30 Questions

  • Java Core
  • OOP
  • Algorithms and Data Structures
  • Multi-Threading
  • Memory
  • Java Frameworks

Sample Question

You need to implement the counter in the multi-threading Java application.

Please, select the solution(s) that will work properly in the multi-threading environment.

 

1) int value

2) volatile int value

3) int value, with synchronized modifier on increment/decrement methods

4) volatile int value, with synchronized modifier on increment/decrement methods

5) AtomicInteger