Correct Answer: No
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Java Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Java MCQ Questions
Java allows you to specify two types of variables: primitive, which store a single value, and
output of program class Test {T obj; Test(T obj) { this.obj=obj } T getobj() {return obj; } } class RunC {public static void main(String[] ar) { Test obj=new Test('hello'); System.out.print(obj.getobj()); } }
Can a class be both abstract and final?
Which Map implementation is safe for modification in a multi-threaded program?
TreeMap class is used to implement which collection interface?
In Java, what is the scope of a method's argument or parameter?
What phrase indicates that a function receives a copy of each argument passed to it rather than a reference to the objects themselves?
When should you use a static method?
Which operator is used to concatenate Strings in Java
How would you convert a String to an Int?