Java Simple - 1

Java Simple - 1

University

20 Qs

quiz-placeholder

Similar activities

Java Debugging Questions - E

Java Debugging Questions - E

University

15 Qs

FILLINSETB

FILLINSETB

University

15 Qs

round 2

round 2

University

25 Qs

Quiz 1 - Pemrograman Berbasis Obyek

Quiz 1 - Pemrograman Berbasis Obyek

University

17 Qs

SET 2 quiz

SET 2 quiz

University

20 Qs

Tech-Pictionary Round 1

Tech-Pictionary Round 1

University

20 Qs

Technoquiz..3

Technoquiz..3

University

15 Qs

Quiz Unplugged

Quiz Unplugged

University

15 Qs

Java Simple - 1

Java Simple - 1

Assessment

Quiz

Other

University

Hard

Created by

KiRUBANANTHAM CHENNIAPPAN

Used 4+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which statement is true about Java?

Java is a sequence-dependent programming language

Java is a code dependent programming language

Java is a platform-dependent programming language

Java is a platform-independent programming language

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of these cannot be used for a variable name in Java?

identifier & keyword

identifier

keyword

none of the mentioned

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the value of g?

int g = 3;

System.out.print(++g * 8);

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not an OOPS concept in Java?

Polymorphism

Inheritance

Compilation

Encapsulation

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

StringBuffer s1 = new StringBuffer("Quiz");

StringBuffer s2 = s1.reverse();

System.out.println(s2);

Find the Output?

QuizziuQ

Quiz

ziuQQuiz

ziuQ

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select the valid statement.

char[] ch = new char(5);

char[] ch = new char[5];

char[] ch = new char();

char[] ch = new char[];

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

When is the object created with new keyword?

At run time

At compile time

Depends on the code

None

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?