Jump to content

  • Log In with Google      Sign In   
  • Create Account

zeromemory or memset in Java?


Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
4 replies to this topic

#1   Members   

122
Like
Likes
Like

Posted 30 June 2003 - 07:27 AM

Is there any way in Java to zero out a class in the same manner that you can zero out a struct or class in C++?

#2   Members   

968
Like
Likes
Like

Posted 30 June 2003 - 07:33 AM

No. Why would you want to?



AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.

#3   Banned   

100
Like
Likes
Like

Posted 30 June 2003 - 07:35 AM

As Arild said, no.

#4   Members   

379
Like
Likes
Like

Posted 30 June 2003 - 07:36 AM

All variables are set to 0 by default.

#5   Members   

122
Like
Likes
Like

Posted 30 June 2003 - 11:26 AM

Oh, I''m just wondering. It would certainly be useful in a certain class in my project where there are buffers that should be zeroed out after use, just wondered if there was a way to do it that would save me from typing so much




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.