Basics of JAVA

Basics of JAVA

University

11 Qs

quiz-placeholder

Similar activities

PYTHON DAY 2

PYTHON DAY 2

University

12 Qs

C programming-1

C programming-1

University

13 Qs

python basics

python basics

11th Grade - University

15 Qs

Intro to Java 1

Intro to Java 1

University

15 Qs

Arithmetic Types Declare Initialize Relation Logical Ops

Arithmetic Types Declare Initialize Relation Logical Ops

9th Grade - University

16 Qs

JavaScript Basic

JavaScript Basic

University

16 Qs

JAVA QUIZ-1

JAVA QUIZ-1

University

10 Qs

C++ Basics

C++ Basics

University

12 Qs

Basics of JAVA

Basics of JAVA

Assessment

Quiz

Computers

University

Medium

Created by

Navraj Khanal

Used 39+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?