Java Simple - 1

Java Simple - 1

University

20 Qs

quiz-placeholder

Similar activities

Week 2 - Search Engine Optimisation (SEO)

Week 2 - Search Engine Optimisation (SEO)

University

15 Qs

IT Tradeasia Academy 2024-Review 1

IT Tradeasia Academy 2024-Review 1

University

15 Qs

Java programming

Java programming

University

20 Qs

Javapie Quiz

Javapie Quiz

University

20 Qs

AI & ML - Coders Club [ Epsilon ]

AI & ML - Coders Club [ Epsilon ]

University

20 Qs

ambot para asa ni

ambot para asa ni

University

20 Qs

Quiz de Programação e Sustentabilidade

Quiz de Programação e Sustentabilidade

10th Grade - University

15 Qs

Logika & Algoritma Pemrograman

Logika & Algoritma Pemrograman

University

20 Qs

Java Simple - 1

Java Simple - 1

Assessment

Quiz

Other

University

Hard

Created by

KiRUBANANTHAM CHENNIAPPAN

Used 5+ 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?