
MODULE 1 CORE JAVA BCA IV
Authored by Ms. Patel
Other
University
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid keyword in Java?
A) interface
B) string
C) Float
D) unsigned
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements is used to create an object in Java?
C) ClassName object;
D) create ClassName();
B) ClassName object = new ClassName();
A) new ClassName();
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following methods is used to read input from the user in Java?
B) Scanner.next();
D) Console.input();
A) System.out.println();
C) Input.read();
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default value of a boolean variable in Java?
D) null
C) 0
B) false
A) true
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the size of an int variable in Java?
A) 8 bits
B) 16 bits
D) 64 bits
C) 32 bits
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a Java feature?
A) Object-oriented
B) Use of pointers
C) Platform-independent
D) Robust
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In which year was Java first released?
A) 1991
B) 1995
C) 1998
D) 2000
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?