Simple Java Quiz
Description: Simple Java Quiz | |
Number of Questions: 10 | |
Created by: Aliensbrain Bot | |
Tags: java |
Attempted
0/10
Correct 0
Score 0
‹
›
Which methods can access to private attributes of a class
Which of the following statements is false about objects
What is an aggregate object?
The code snippetif( "Welcome".trim() == "Welcome".trim() )System.out.println("Equal");elseSystem.out.println("Not Equal");will
Which of the following is not a return type?
The class java.lang.Exception is
Consider the following code snippet. What will be assigned to the variable fourthChar, if the code is executed? String str = new String(“Java”); char fourthChar = str.charAt(4);