Java Quiz2

Java Quiz2

University

11 Qs

quiz-placeholder

Similar activities

Diagnóstico Páginas Web

Diagnóstico Páginas Web

University

10 Qs

Computer and Other Human Inventions

Computer and Other Human Inventions

University

15 Qs

YT-Quiz

YT-Quiz

University

10 Qs

Servidor Web

Servidor Web

University

10 Qs

Quiz-AIML

Quiz-AIML

University

10 Qs

Sociedad del conocimiento _XC

Sociedad del conocimiento _XC

University

12 Qs

EDA PARTE 2

EDA PARTE 2

University

15 Qs

C Wrapup Quiz Deutsch

C Wrapup Quiz Deutsch

University

12 Qs

Java Quiz2

Java Quiz2

Assessment

Quiz

Computers

University

Medium

Created by

Vijayaraman P

Used 91+ times

FREE Resource

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Command to compile a java program

javab filename.java

java filename.java

javac filename

javac filename.java

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Command to run a java program

java filename.class

java filename

java filename.java

-java filename

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

__________ is needed to access a method in a class.

class name

class variable

function

object

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

main method is a

non static method

static method

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Object is not needed in case the method is

public

static

void

main

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following class is used to read input during execution?

Array

String

Scanner

Main

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Scanner class is available in

javax.util package

javay.util package

java.util.Scanner package

javax.util.Scanner package

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?