Basics of JAVA

Basics of JAVA

University

11 Qs

quiz-placeholder

Similar activities

Round 1 for Preplacement Bootcamp.

Round 1 for Preplacement Bootcamp.

University

15 Qs

Java Quiz 4

Java Quiz 4

University

15 Qs

Visual Basic 2010

Visual Basic 2010

8th Grade - University

10 Qs

DSA quiz 3 set 1

DSA quiz 3 set 1

University

10 Qs

Python Quiz

Python Quiz

University

15 Qs

GK Quiz

GK Quiz

University

15 Qs

2024 - Struktur Data Quiz 1

2024 - Struktur Data Quiz 1

University

10 Qs

Python Week 1 & 2

Python Week 1 & 2

University

10 Qs

Basics of JAVA

Basics of JAVA

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Navraj Khanal

Used 39+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The keyword "method" is another name for

an object

a class

a function

a variable

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a numeric data type

int

double

float

decimal

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is incorrect?

int count = 50.0;

int salary = 50_000;

int salary = 50_00;

all of these are incorrect

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where does a java program start executing instructions from:

class

source file

main method

object

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

We are use Scanner Library in java for...

Give permissions to the user
Correcting software errors
Allows user to read data
Allows the user to enter data

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When we want to print in Java, we use the code ......

system.out.print();
System.out.println();
System.Out.Printf();
System.out.show();

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A variable that holds words

String
boolean
int
float

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?