Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

10
  • so object is just a permanant memory location with the data of the class??i want to know what exactly is object? Commented Aug 23, 2017 at 9:38
  • Yes Exactly @Nalin Commented Aug 23, 2017 at 9:39
  • You can say Object is like Container, Which contains variables and methods defined in the class Commented Aug 23, 2017 at 9:40
  • little confused ! Commented Aug 23, 2017 at 9:40
  • OHHHHK so to access those methods in stack we use the reference that helps us to access all the methods and variables(instsance) stored in heap Commented Aug 23, 2017 at 9:42