Welcome to Femtosoft Technologies
9884668421
Note!!Β After timer finished countdowning, quiz will be submitted automatically.
JAVA FULLSTACK
β Total Questions: (25 Questions)β Exam Duration: (5 Minutes)β Passing Criteria: (80%)
π― Free Internship Opportunity: π Only passed candidates (above 80%) are eligible for a free internship. π We will schedule the internship and inform you via email & WhatsApp. π Internship includes real-time project experience & a completion certificate. π If you have scored 50% or above, you are eligible to receive your certificate
β 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.
β Step 1: Click on the link below to visit our Google Review page:π Review Page
β Step 2: Sign in with your Google account.
β Step 3: Write a genuine review about your experience Include the following details:
β Example Review Format:"I, [Your Name] from [Your College Name], learned [Technology Name] from [Institute Name]. It was a great experience with hands-on projects. The training was very helpful. Thanks for the opportunity!"
.β Step 4: Take a screenshot of your submitted review.
π After writing the review, fill out the form below:π Click Here
Provide the following details:β Full Name (This will appear on your certificate)β Email ID (Certificate will be emailed to this address)β WhatsApp Number (Certificate link will be sent here)β Domain of Interest for Internship (Choose from available options)β Upload the Screenshot of your Google Review
π© Once verified, you will receive your digital certificate via email & WhatsApp
π― Free Internship Opportunity:π Passed candidates will receive a free internship in their selected domain.π We will schedule the internship and inform you via email & WhatsApp.π Internship includes real-time project experience & a completion certificate.
π Congratulations on your success!
π― Stay focused and give your best! Good luck!
Please fill all the required fields carefully, information provided will be used in offer letter and Completion Certificate.
1 / 25
1. Choose the correct method to convert a String to an integer in Java.
2 / 25
2. What is the result of the following Java expression?
System.out.println(Hello" + 1 + 2);
3 / 25
3. What will be the output of the following code?Β
Β Β Β public class Test {
Β Β Β Β Β Β Β public static void main(String[] args) {
Β Β Β Β Β Β Β Β Β Β Β int x = 5;
Β Β Β Β Β Β Β Β Β Β Β System.out.println(x + x++ + ++x);
Β Β Β Β Β Β Β }
Β Β Β }
4 / 25
4. What is the output of this code?
Β Β Β int count = 0;
Β Β Β for (int i = 0; i < 5; i++) {
Β Β Β Β Β Β Β if (i == 3) continue;
Β Β Β Β Β Β Β count++;
Β Β Β System.out.println(count);
5 / 25
5. What will be the output of the following code?
Β Β Β class Base {
Β Β Β Β Β Β Β void display() {
Β Β Β Β Β Β Β Β Β Β Β System.out.println("Base class");
Β Β Β class Derived extends Base {
Β Β Β Β Β Β Β Β Β Β Β System.out.println("Derived class");
Β Β Β public class Main {
Β Β Β Β Β Β Β Β Β Β Β Base obj = new Derived();
Β Β Β Β Β Β Β Β Β Β Β obj.display();
6 / 25
6. What is the output for the following code?Β
Β Β Β Β Β Β Β Β Β Β Β String s1 = new String("Hello");
Β Β Β Β Β Β Β Β Β Β Β String s2 = new String("Hello");
Β Β Β Β Β Β Β Β Β Β Β System.out.println(s1 == s2);
7 / 25
7. What is the result of this code?
Β Β public class Test {
Β Β Β Β Β Β public static void main(String[] args) {
Β Β Β Β Β Β Β Β Β Β String s = "Java";
Β Β Β Β Β Β Β Β Β Β s = s.concat(" Programming");
Β Β Β Β Β Β Β Β Β Β System.out.println(s);
Β Β Β Β Β Β }
Β Β }
8 / 25
8. Which method is called when an object is created?
9 / 25
9. What will the output of the following code?
public class Example {
public static void main(String[] args) {
int i = 0;
while (i < 5) {
System.out.print(i + " ");
i++;
}
10 / 25
10. Which of the following is a valid Java package declaration?
11 / 25
11. What is the output of the following code?
StringBuilder sb = new StringBuilder(Hello");
sb.append(" World");
System.out.println(sb.toString());
12 / 25
12. What is the purpose of the 'finally' block in exception handling?
13 / 25
13. What is the default value of an uninitialized boolean variable in Java?
14 / 25
14. Which of the following keywords is not used in Java?
15 / 25
15. Which of the following can be a super class in an interface?
16 / 25
16. What does the 'final' keyword indicate when used with a variable?
17 / 25
17. Which operator is used to access the members of a class?
18 / 25
18. What does the 'volatile' keyword mean in Java?
19 / 25
19. How do you declare an array in Java?
20 / 25
20. What will be the output of this Java code?
public class Test
{
Β Β Β Β Β Β Β Β Β Β Β public static void main(String[] args)
Β Β Β Β Β Β Β Β Β Β Β {
Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β for (int i = 0; i <= 5; i++)
Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β {Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β
Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β System.out.print(i + " ");
Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β }
Β Β Β Β Β Β Β Β Β Β Β }
21 / 25
21. What happens if you try to modify a value in a String object?
22 / 25
22. What will be the output of the following code?
Β Β Β Β Β Β Β Β Β Β Β for (int i = 0; i < 5; i++) {
Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β if (i % 2 == 0) continue;
Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β System.out.print(i + " ");
23 / 25
23. What will be the output of the following code?Β
Β Β Β Β Β Β Β Β Β Β Β int x = 10;
Β Β Β Β Β Β Β Β Β Β Β int y = 20;
Β Β Β Β Β Β Β Β Β Β Β System.out.println(x >= y ? "X is greater" : "Y is greater");
24 / 25
24. What is the value of 'x' after executing the following code?
int x = 10;
x += 5 * 2;
25 / 25
25. What output will the following code produce?Β
Β Β Β Β Β Β Β static int x = 10;
Β Β Β Β Β Β Β Β Β Β Β System.out.println(x++);
Β Β Β Β Β Β Β Β Β Β Β System.out.println(++x);
Your score is