Introduction to JAVA

Introduction to JAVA

Professional Development

10 Qs

quiz-placeholder

Similar activities

Datatypes and Flowcontrol

Datatypes and Flowcontrol

Professional Development

15 Qs

JAVA QUIZ

JAVA QUIZ

Professional Development

11 Qs

Inheritance

Inheritance

Professional Development

10 Qs

JavaScript

JavaScript

Professional Development

11 Qs

JavaScript Fundamentals

JavaScript Fundamentals

9th Grade - Professional Development

10 Qs

Android Fundamentals - Day 3 : Activities & Intents

Android Fundamentals - Day 3 : Activities & Intents

University - Professional Development

15 Qs

DOT NET-SET1

DOT NET-SET1

Professional Development

15 Qs

FORMATIVE ASSESSMENT 2 OOPS

FORMATIVE ASSESSMENT 2 OOPS

Professional Development

15 Qs

Introduction to JAVA

Introduction to JAVA

Assessment

Quiz

Computers

Professional Development

Easy

Created by

LE156 Sorna D

Used 4+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The Motivation behind the invention of JAVA is?

To develop a language that is only for mobile applications
The motivation behind the invention of JAVA is to create a platform-independent programming language.
To create a language that only runs on Windows
To make a programming language that requires specific hardware

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

abbreviate WORA

Write Once, Run Anywhere Fast
Write Once, Read Anywhere
Write Once, Run Always
Write Once, Run Anywhere

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Java derives much of its features from

Swift and C

C++ and PHP

C and C++

Python and C

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A simple java program must contain

A package declaration only
A function without a return type

A public class with a main method

A main method without a class

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The keyword used to define a class

function

Class

define
class

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the function template of main method in JAVA

static void main(String args)
void main(String[] args)
public static void main(String[] args)
public void main(String[] args)

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The name of the java file is decided by

The name of the Java file is based on the main method name.
The name of the Java file is determined by the package name.
The name of the Java file is chosen randomly by the compiler.
The name of the Java file is decided by the public class name.

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?