Register on the forum now to remove ALL ads + popups + get access to tons of hidden content for members only!

Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > Java

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 03-14-2018, 04:23 AM   #1
sunled
Registered User
 
Join Date: Nov 2017
Posts: 1,993
How objects are stored in Java?

How objects are stored in Java?
sunled is offline   Reply With Quote

Old 03-14-2018, 04:42 AM   #2
HamzaBabar
Registered User
 
Join Date: Mar 2018
Posts: 65
These are called stack memory and heap memory. Stack memory stores primitive types and the addresses of objects. The object values are stored in heap memory. An object reference on the stack is only an address that refers to the place in heap memory where that object is kept.
HamzaBabar is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Which API is provided by Java for operations on set of objects? sunled Java 0 03-13-2018 03:27 AM
How objects are stored in Java? sunled Java 0 03-13-2018 03:25 AM
What are objects, anyway? chinmay.sahoo PHP / mySQL 0 07-20-2016 04:51 AM
How objects are stored in Java? Shivangi Panwar Java 1 04-29-2016 09:24 PM
The conclusion provided by the Black Hat Java Script andrebreton2121 Search Engine Optimization 6 10-17-2012 11:06 PM


All times are GMT -7. The time now is 04:14 PM.


Powered by vBulletin Copyright © 2013 vBulletin Solutions, Inc.