I have var (For example var a : Int =0 )in kotlin and I want a see my data address in my storage and where did it save ?
            Asked
            
        
        
            Active
            
        
            Viewed 210 times
        
    1 Answers
1
            
            
        please check this . possible duplicate here:
How can I get address of an object in Kotlin?
You can get initial memory address with :
System.identityHashCode()
This address could be changed during the time.
 
    
    
        user16728174
        
- 182
- 1
- 4