Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7706537
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T00:08:59+00:00 2026-06-01T00:08:59+00:00

I find the question in some sites like ow would you prevent someone from

  • 0

I find the question in some sites like “ow would you prevent someone from overriding the java.lang.Object class?” but none of the response I could understand.
As per my thinking , it may be done –

Can create a Base class and all the methods of Object class can be
overriden and then we can throw some unsupported exception for each
method , so further all subclasses won;t be able to access any of the
methods of Object or there is much more better way to do it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T00:09:01+00:00Added an answer on June 1, 2026 at 12:09 am

    Make a FinalObject extends Object class that overrides each of the Object methods and makes them final.

    class FinalObject extends Object {
      public final int hashCode() { return super.hashCode(); }
      public final int equals(Object o) { return super.equals(o); }
      ...
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This may not sound like a coherient question, but I need to find some
I've done some research, but I didn't find an answer to my question. I
my visitors would like to be able to save some sites as an image-file,
This question was posted on some site. I didnt find right answers there, so
this is some kind of followup to my last question. i needed to find
I find this question a little tricky. Maybe someone knows an approach to answer
i find this question tricky but what files store method signature info for xml
I am relatively new to mod_rewrite, but have a site which I would like
When you run a Java Servlet Container that you would like to serve both
Another day another question ;) This time I would like to ask you about

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.