Java Intro

Java Intro

University

7 Qs

quiz-placeholder

Similar activities

Pemrograman Berbasis Objek

Pemrograman Berbasis Objek

University

12 Qs

ES6 Post Test

ES6 Post Test

University

5 Qs

JAVA III

JAVA III

University

10 Qs

DEBUG THE CODE

DEBUG THE CODE

University

10 Qs

Chapter 4 การสืบทอด Class

Chapter 4 การสืบทอด Class

University

10 Qs

Java_Quiz_Seven

Java_Quiz_Seven

University

10 Qs

SCANNER-MEMORIAS SD

SCANNER-MEMORIAS SD

University

11 Qs

game Informatika Kelas 7

game Informatika Kelas 7

1st Grade - University

10 Qs

Java Intro

Java Intro

Assessment

Quiz

Computers

University

Medium

Created by

KiRUBANANTHAM CHENNIAPPAN

Used 2+ times

FREE Resource

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of these components are used in a Java program for compilation, debugging, and execution?

JDK

JRE

JVM

J2EE

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

When an expression consists of int, double, long, float, then the entire expression will get promoted into a data type that is:

int

double

long

float

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

find the output

3 3 6

2 3 4

2 2 3

3 1 6

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

find the correct main method signature

public static void main(String[] obj)

public static void main(String obj)

public static void main(string[] obj)

public static void main(int[] obj)

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Find the correct way to create scanner obj to get input

Scanner sc = new Scanner();

Scanner sc = new Scanner(System);

Scanner sc = new Scanner(System.out);

Scanner sc = new Scanner(System.in);

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

find the incorrect method to get String input from user using Scanner obj sc

sc.next()

sc.nextLine()

sc.nextString()

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the extension of compiled java classes?

.txt

.exe

.java

.class