tag:blogger.com,1999:blog-8712770457197348465.post826781440394806203..comments2024-03-28T02:47:19.159-07:00Comments on Javarevisited: Can we declare a class Static in Java? Top Level and Nested static class Examplejavin paulhttp://www.blogger.com/profile/15028902221295732276noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-8712770457197348465.post-46921497694189576042022-05-30T23:20:42.383-07:002022-05-30T23:20:42.383-07:00For creating variables, yes some memory is assigne...For creating variables, yes some memory is assigned on stack but that's minimal compared to actual object. javin paulhttps://www.blogger.com/profile/15028902221295732276noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-25183437714345276202022-05-29T05:52:46.075-07:002022-05-29T05:52:46.075-07:00can instance variables get memory if we do not cre...can instance variables get memory if we do not create object of the classAnonymousnoreply@blogger.com