Correct Answer: Private
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
What type of variable can be assigned to only once?
How would you convert a String to an Int?
Which operator is used to concatenate Strings in Java
When should you use a static method?
What phrase indicates that a function receives a copy of each argument passed to it rather than a reference to the objects themselves?
Which primitive types is unsigned?
TreeMap class is used to implement which collection interface?
Which Map implementation is safe for modification in a multi-threaded program?
Can a class be both abstract and final?
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()); } }