which of the below statements are false about memory segments of java program?
all static variables will sit in data segment
all static function will sit in data segment
all instance variables will sit in heap
all objects created using new operator will also sit in heap.
all static functions will sit in data segment
functions whether it is static or not static, is a code, so it sits in code segment.
Back To Top