JAVA Certification Exam | Free Online Certifications Exams

JAVA Certification Exam | Free Online Certifications Exams

Java is a high-level, general-purpose, object-oriented programming language. It is easy and used to develop any kind of program. Apart from this, it can also be used in Android development.

java certification exam
Java, originally evolved from the Oak language, was born in early 1996 with its major version as Java 1 or JDK 1.0. Java was initially designed and developed by Sir James Gosling at Sun Microsystems. Java 8 or JDK 8.0 is one of the major releases of the Java programming language in 2014.

JAVA Online Certification Exam will have the following process:

  • Exam will have 25 questions.
  • Limited time will be given of 20 minutes.
  • Unlimited Attempt
  • Passing marks will be 70%
  • Language : English
  • Pass the exam and get E-Certificate on your Email ID within 72 hours
  • Please input your correct and complete Name,Mobile Number & Email ID

All the Best !!

0%

JAVA Online Certification Exam

Test your knowledge, and share this quiz with family, friends and colleagues.

 

 

1 / 25

Which of the following is a valid long literal?

2 / 25

Which of the following is true about the anonymous inner class?

3 / 25

What will be the output of the following program?

  1. abstract class MyFirstClass
  2. {
  3.      abstract num (int a, int b) {  }
  4. }

4 / 25

The \u0021 article referred to as a

5 / 25

What does the expression float a = 35 / 0 return?

6 / 25

Which of the given methods are of Object class?

7 / 25

Evaluate the following Java expression, if x=3, y=5, and z=10:

++z + y - y + z + x++

8 / 25

Which method of the Class.class is used to determine the name of a class represented by the class object as a String?

9 / 25

What should be the execution order, if a class has a method, static block, instance block, and constructor, as shown below?

  1. public class First_C {
  2.       public void myMethod()
  3.     {
  4.     System.out.println("Method");
  5.     }
  6.     {
  7.     System.out.println(" Instance Block");
  8.     }
  9.     public void First_C()
  10.     {
  11.     System.out.println("Constructor ");
  12.     }
  13.     static {
  14.         System.out.println("static block");
  15.     }
  16.     public static void main(String[] args) {
  17.     First_C c = new First_C();
  18.     c.First_C();
  19.     c.myMethod();
  20.   }
  21. }

10 / 25

 In which process, a local variable has the same name as one of the instance variables?

11 / 25

Which of the following for loop declaration is not valid?

12 / 25

What is the use of \w in regex?

13 / 25

What do you mean by nameless objects?

14 / 25

What will be the output of the following program?

  1. public class MyFirst {
  2.       public static void main(String[] args) {
  3.          MyFirst obj = new MyFirst(n);
  4.  }
  5.  static int a = 10;
  6.  static int n;
  7.  int b = 5;
  8.  int c;
  9.  public MyFirst(int m) {
  10.        System.out.println(a + ", " + b + ", " + c + ", " + n + ", " + m);
  11.    }
  12. // Instance Block
  13.   {
  14.      b = 30;
  15.      n = 20;
  16.   }
  17. // Static Block
  18.   static
  19. {
  20.           a = 60;
  21.      }
  22.  }

15 / 25

What is the return type of the hashCode() method in the Object class?

16 / 25

_____ is used to find and fix bugs in the Java programs.

17 / 25

 Which of the following is not a Java features?

18 / 25

Which of the following tool is used to generate API documentation in HTML format from doc comments in source code?

19 / 25

Given that Student is a class, how many reference variables and objects are created by the following code?

  1. Student studentName, studentId;
  2. studentName = new Student();
  3. Student stud_class = new Student();

20 / 25

What will be the output of the following program?

  1. public class Test {
  2. public static void main(String[] args) {
  3.     int count = 1;
  4.     while (count <= 15) {
  5.     System.out.println(count % 2 == 1 ? "***" : "+++++");
  6.     ++count;
  7.         }      // end while
  8.     }       // end main 
  9.  }

21 / 25

Which of the following creates a List of 3 visible items and multiple selections abled?

22 / 25

What will be the output of the following program?

  1. public class Test2 {
  2.     public static void main(String[] args) {
  3.         StringBuffer s1 = new StringBuffer("Complete");
  4.         s1.setCharAt(1,'i');
  5.         s1.setCharAt(7,'d');
  6.         System.out.println(s1);
  7.      }
  8.  }

23 / 25

Which of the following is a valid declaration of a char?

24 / 25

Which of the following is false?

25 / 25

Which package contains the Random class?

Other Certification Exams
Click Here
error: Content is protected !!
Scroll to Top