Saturday , April 20 2024
Breaking News

Java Programming Free Certification

Java Programming Free Certification

A potent general-purpose programming language is Java. It is utilised to create embedded devices, massive data processing, desktop and mobile applications, and more. Java is one of the most widely used programming languages, with 3 billion devices running it globally, according to Oracle, the corporation that owns Java.

Get Java Programming Certificate from The Digital Adda which you can share in the Certifications section of your LinkedIn profile, on printed resumes, CVs, or other documents.

Exam Details:

  • Format: Multiple Choice Question
  • Questions: 10
  • Passing Score: 8/10 or 80%
  • Language: English

Number of primitive data types in Java are?

6
7
8
9

What is the size of float and double in java?

32 and 64
32 and 32
64 and 64
64 and 32

Find the output of the following code.

int Integer = 24;
char String = ‘I’;
System.out.print(Integer);
System.out.print(String);

Compile error
Throws exception
I
24 I

Select the valid statement.

char[] ch = new char(5)
char[] ch = new char[5]
char[] ch = new char()
char[] ch = new char[]

When an array is passed to a method, what does the method receive?

The reference of the array
A copy of the array
Length of the array
Copy of first element

Select the valid statement to declare and initialize an array.

int[] A = {}
int[] A = {1, 2, 3}
int[] A = (1, 2, 3)
int[][] A = {1,2,3}

Arrays in java are-

Object references
objects
Primitive data type
None

When is the object created with new keyword?

At run time
At compile time
Depends on the code
None

In which of the following is toString() method defined?

java.lang.Object
java.lang.String
java.lang.util
None

compareTo() returns

True
False
An int value
None

GET COMPLETE DETAILS AND APPLY : CLICK HERE

About Clear My Certification

Check Also

infosys springboard

Pragati – Infosys Launched career development program for women | Get Complete Details Here

Infosys Springboard Pragati: Path to Future. It is an exclusive career development program for women which will …

Leave a Reply

Your email address will not be published. Required fields are marked *