The Artima Developer Community
Sponsored Link

Java Answers Forum
null in java

1 reply on 1 page. Most recent reply: Aug 25, 2005 12:01 AM by Kondwani Mkandawire

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
sherrie

Posts: 1
Nickname: sherrie
Registered: Aug, 2005

null in java Posted: Aug 24, 2005 6:11 PM
Reply to this message Reply
Advertisement
Does a null in Java stand for 0x0000?

Is a NULL in Java compatible with the NULL in Sybase?

Please help me out.


Kondwani Mkandawire

Posts: 530
Nickname: spike
Registered: Aug, 2004

Re: null in java Posted: Aug 25, 2005 12:01 AM
Reply to this message Reply
> Does a null in Java stand for 0x0000?
>
> Is a NULL in Java compatible with the NULL in Sybase?
>
> Please help me out.

No they are not, even in native code NULL or '\0'
is not equivalent to 0x0000.

If I'm not mistaken 0x0000 is simply hex for
0. If its in reference to an address, a null
pointer won't necessarily reside in that location.

In any case java can't access a machines lowlevel
routines so you really won't know if what you're
asking holds.

In short, No its not.

Flat View: This topic has 1 reply on 1 page
Topic: error showing  with JAVA PROFILE 1.0.1 Previous Topic   Next Topic Topic: Get DDR number of a server

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use