JAVA

JAVA

University

15 Qs

quiz-placeholder

Similar activities

Sains Komputer (Java) 1: Sintaks Asas & Pembolehubah

Sains Komputer (Java) 1: Sintaks Asas & Pembolehubah

10th Grade - University

10 Qs

Java 2D Array

Java 2D Array

University

20 Qs

Java 2D Arrays

Java 2D Arrays

University

20 Qs

CODE ZENITH

CODE ZENITH

University

15 Qs

Java Programming RBVRRIT

Java Programming RBVRRIT

University - Professional Development

10 Qs

Object Oriented Programming Quizz

Object Oriented Programming Quizz

University

10 Qs

COSC_1436_ MOD-01 & MOD-02 Quiz

COSC_1436_ MOD-01 & MOD-02 Quiz

University

16 Qs

Programming Java

Programming Java

University

20 Qs

JAVA

JAVA

Assessment

Quiz

Computers

University

Medium

Created by

SOWMYA GV

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which component is used to compile, debug, and execute the Java programs?

JRE

JIT

JDK

JVM

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following is not a Java feature?

Use of Pointers

Object Oriented

Portable

Dynamic and executable

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these cannot be used for a variable name in Java?

identifier

& keyword identifier

keyword

none of the mentioned

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the extension of java code files?

.js

.txt

.class

.java

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Java code?

class increment

{

public static void main(String args[])

{

int g = 3;

System.out.print(++g * 8);

}

}

33

32

23

45

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not an OOPS concept in Java?

Polymorphism

Inheritance

Compilation

Encapsulation

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the error in the following Java code?

byte b = 50;

b = b * 50;

b cannot contain value 50

b cannot contain value 100, limited by its range

No error in this code

* operator has converted b 50 into int, which can not be converted to byte without casting

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?