Welcome to Femtosoft Technologies
9884668421
Note: After the timer finishes counting down, the exam will be submitted automatically
✅ Total Questions: (25 Questions)✅ Exam Duration: (10 Minutes)
✅ Exam Type: MCQs
✔ Use a laptop/desktop with a stable internet connection.✔ Recommended browsers: Chrome, Firefox, Edge (latest versions).✔ Ensure your webcam & microphone are working (if required).
🖊 Fill in the Exam Registration Form Correctly
⚠️ Incorrect details may result in delays or disqualification.
📌 Ensure all answers are submitted before the timer ends.📌 Once submitted, you cannot change your responses.📌 After passing, your certificate will be automatically generated with your registered name.
🎉 Congratulations on your success!
🎯 Stay focused and give your best! Good luck!
The number of attempts remaining is 2
Please fill all the required fields carefully, information provided will be used in offer letter and Completion Certificate.
1 / 25
1. What is the output of the following code?
StringBuilder sb = new StringBuilder(Hello");
sb.append(" World");
System.out.println(sb.toString());
2 / 25
2. Which of the following is NOT a valid access modifier in Java?
3 / 25
3. What will be the output of the following code?
public class Test {
public static void main(String[] args) {
System.out.println(10 + 20 + "Hello");
}
4 / 25
4. Which of the following creates a new thread?
5 / 25
5. What is the output of the following code?
int[] numbers = {1, 2, 3};
System.out.println(numbers[0] + numbers[1] + numbers[2]);
6 / 25
6. What will be the output of this code?
public class Example {
double d = 10.0 / 0;
System.out.println(d);
7 / 25
7. What will be the output of this code?
public class Test
{
public static void main(String[] args)
int x = 5;
int y = 10;
x = y;
System.out.println(x);
8 / 25
8. Which of these will cause a compilation error?
9 / 25
9. What happens if you try to assign a value to a final variable?
10 / 25
10. How do you declare an array in Java?
11 / 25
11. What is the output of this code?
String str = null;
System.out.println(str);
12 / 25
12. Which of these statements is true?
13 / 25
13. What is the purpose of the 'static' keyword in Java?
14 / 25
14. What does the 'volatile' keyword mean in Java?
15 / 25
15. Which of the following is true about Java Strings?
16 / 25
16. What is the difference between ArrayList and LinkedList in Java?
17 / 25
17. What is a Java Enum?
18 / 25
18. How does the hashCode() method work in Java?
19 / 25
19. What is the significance of this keyword in Java?
20 / 25
20. Explain the concept of composition in Java.
21 / 25
21. What is garbage collection in Java?
22 / 25
22. What is the java.util.Optional class?
23 / 25
23. How can you use Aspect-Oriented Programming (AOP) in Spring?
24 / 25
24. What is the role of Callable in Java?
25 / 25
25. Explain method overloading in Java.