in Java
1,929 views
1 vote
1 vote

Which of the following methods from Object is final ( that it cannot be overriden ) ?

(A) finalize method

(B) clone method

(C) hashCode method

(D) getClass method

in Java
1.9k views

1 Answer

1 vote
1 vote
Best answer

D) getClass method

Always refer Oracle docs for authentic information.
https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html

selected by
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true