- 1
Classes in Java
Which of these classes will have more memory allocated: (1) Class with 3 methods,4 variables,no object (2) Class with 5 methods,3 variables,no object
2 Respostas
+ 3
Iam_IKHINE
Memory depends on objects not methods because objects stores in heap memory.
0
So the first option is correct. Right?