About Question enthuware.ocpjp.v7.2.1732 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
hamada.yamasaki
Posts: 17
Joined: Fri Oct 11, 2013 10:31 am
Contact:

About Question enthuware.ocpjp.v7.2.1732 :

Post by hamada.yamasaki »

As per the java docs , the clone method is protected in Enum.
And i also looked into the src code of java.lang.Enum line number 162 and it also have
protected final Object clone() throws CloneNotSupportedException {
throw new CloneNotSupportedException();
}

So where it is declared private? Thanks

admin
Site Admin
Posts: 10386
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v7.2.1732 :

Post by admin »

Nowhere. Not sure I understand your question. The question does not say that it is private.
Paul.

hamada.yamasaki
Posts: 17
Joined: Fri Oct 11, 2013 10:31 am
Contact:

Re: About Question enthuware.ocpjp.v7.2.1732 :

Post by hamada.yamasaki »

I re-read and it say's final NOT private.
Thanks for your time

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests