
Test 4
Authored by Prof. Wadhwani
Computers
University
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?