Category Archives: java

Java Basics

•Objects & Variables -Local var resides in stack -> space is allocated at method call and deallocated at method return -Objects are created on heap by the “new” operator but object ref is a value and resides in stack -Objects … Continue reading

Posted in java | Leave a comment