cc2-quiz

cc2-quiz

University

10 Qs

quiz-placeholder

Similar activities

OOP - Java Classes

OOP - Java Classes

12th Grade - University

15 Qs

Array

Array

University

11 Qs

Core Java Quiz

Core Java Quiz

University

10 Qs

OOPs Quiz

OOPs Quiz

University

10 Qs

Stings, Cloning and ArrayList

Stings, Cloning and ArrayList

University

10 Qs

Java Operators

Java Operators

University

14 Qs

 QUIZ  MS Core Java Quiz-3 2023

QUIZ MS Core Java Quiz-3 2023

University

11 Qs

Talent Next Java MCQ-1

Talent Next Java MCQ-1

University

10 Qs

cc2-quiz

cc2-quiz

Assessment

Quiz

Computers

University

Easy

Created by

Asst.Prof, CSE Vel Tech, Chennai

Used 3+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is not a Java keyword?

class

interface

extends

main

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is used to create a variable that should store text?

String

myString

Txt

string

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the size of int in Java?

4 bytes

2 bytes

8 bytes

Depends on system

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is the entry point of a Java program?

start()

main()

run()

init()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol is used to end a statement in Java?

:

;

.

,

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to create an object in Java?

ClassName obj = new ClassName();

ClassName obj();

obj = ClassName();

new ClassName obj = ();

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these access specifiers makes a member visible to all classes?

private

protected

public

default

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?