
Java Simple - 1
Authored by KiRUBANANTHAM CHENNIAPPAN
Other
University
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which statement is true about Java?
Java is a sequence-dependent programming language
Java is a code dependent programming language
Java is a platform-dependent programming language
Java is a platform-independent programming language
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of these cannot be used for a variable name in Java?
identifier & keyword
identifier
keyword
none of the mentioned
3.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
What is the value of g?
int g = 3;
System.out.print(++g * 8);
(a)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not an OOPS concept in Java?
Polymorphism
Inheritance
Compilation
Encapsulation
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
StringBuffer s1 = new StringBuffer("Quiz");
StringBuffer s2 = s1.reverse();
System.out.println(s2);
Find the Output?
QuizziuQ
Quiz
ziuQQuiz
ziuQ
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select the valid statement.
char[] ch = new char(5);
char[] ch = new char[5];
char[] ch = new char();
char[] ch = new char[];
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
When is the object created with new keyword?
At run time
At compile time
Depends on the code
None
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?