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

  • Home
  • SEARCH
  • 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 9105929
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T02:13:05+00:00 2026-06-17T02:13:05+00:00

Possible Duplicate: What exactly is null in Java memory Does anyone know how a

  • 0

Possible Duplicate:
What exactly is null in Java memory

Does anyone know how a null value is represented in the memory for an object or anything. In dot net it is represented by null indicator Boolean value and value of the corresponding type (Refer here). So does any one know how it is done in java ??

  • 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-17T02:13:06+00:00Added an answer on June 17, 2026 at 2:13 am

    From the JVM specification, section 2.4:

    The Java virtual machine specification does not mandate a concrete value encoding null.

    So it could be anything, but it’s very likely to be a reference value which is all zeroes. References themselves can be simple pointers (i.e. just a virtual address in the same way as a native pointer, of the appropriate size for the architecture) but again don’t have to be. Some JVMs have very smart ways of handling references – for example, Hotspot is able to use 32-bit values for references in many situations, even when running in an x64 process.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: What does the term Plain Old Java Object(POJO) exactly mean? I know
Possible Duplicate: Java, pass-by-value, reference variables I am a bit confused on how exactly
Possible Duplicate: What does “$?” give us exactly in a shell script? What does
Possible Duplicate: How exactly does dependency injection reduce coupling? Dependency Injection as a concept,
Possible Duplicate: What the .NET standard for remote method invocation? What exactly is C#
Possible Duplicate: Why can't decimal numbers be represented exactly in binary? I am trying
Possible Duplicate: Why can't decimal numbers be represented exactly in binary? i get very
Possible Duplicate: Why Option[T]? Reference types provide the special value null meaning "absence of
Possible Duplicate: In Javascript/jQuery what does (e) mean? I'm new to programming. What exactly
Possible Duplicate: Reference - What does this symbol mean in PHP? What exactly does

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.