0

The get memory with respect to class name

please give ans

6th Jan 2020, 2:58 PM
Đåñįßh Danish
Đåñįßh Danish - avatar
2 Réponses
0
The Object creation Class_Name obj=new Class_Name() ; obj object will get alloted memory...
6th Jan 2020, 3:17 PM
Jayakrishna 🇮🇳
0
if you mean: how to use class property class myClass { int variable = 10; } public class Program { public static void main(String[] args) { myClass obj = new myClass(); System.out.println( obj.variable ); } }
6th Jan 2020, 8:04 PM
zemiak