java unit 2

java unit 2

University

50 Qs

quiz-placeholder

Similar activities

F0523

F0523

University

50 Qs

Reviewer COMP 20083 - Object Oriented Programming Quiz 1

Reviewer COMP 20083 - Object Oriented Programming Quiz 1

University

45 Qs

application development

application development

University

50 Qs

Event Driven Handouts 1 & 2

Event Driven Handouts 1 & 2

University

45 Qs

Java Fundamentals Challenge

Java Fundamentals Challenge

University

53 Qs

Assignment Quiz

Assignment Quiz

University

47 Qs

Day 4 - Inheritance, super, final, abstract, interface

Day 4 - Inheritance, super, final, abstract, interface

University

50 Qs

Unit_1_Object Oriented Programming with Java

Unit_1_Object Oriented Programming with Java

University

50 Qs

java unit 2

java unit 2

Assessment

Quiz

Computers

University

Easy

Created by

Prof. Wadhwani

Used 1+ times

FREE Resource

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which keyword is used to define a class in Java?
class
def
struct
ClassDef

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which method is the entry point of any Java program?
start()
main()
execute()
init()

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Java was developed by?
Microsoft
Sun Microsystems
Google
IBM

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which extension is used for Java source files?
.jav
.java
.js
.class

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which JVM converts bytecode into machine code?
Interpreter
JIT Compiler
Assembler
Loader

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of these is a primitive data type in Java?
String
Integer
int
Scanner

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Default value of boolean variable?
true
false
0
null

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?