Category Archives: Knowledge

xampp htdocs permission

change nobody to deamon Advertisements

Posted in Knowledge, Uncategorized | Leave a comment


vmware virtual box kvm (for linux)

Posted in Knowledge | Leave a comment

package & import

package need to be placed before import Q: Does importing all classes in a package make my object file (.class or .jar) larger?A: No, import only tells the compiler where to look for symbols. Q: Is it less efficient to … Continue reading

Posted in Knowledge | Leave a comment


java bytecode is a intermediate code, not the native code, it need to be converted to native code in order to run it jit will convert bytecode to native code just-in-time (JIT) compilation, also known as dynamic translation, is compilation … Continue reading

Posted in Knowledge | Leave a comment

is stack only for method? call stack is a stack data structure that stores information about the active subroutines of a computer program for active method primary purpose of a call stack is to store the return addresses return address -> the location (address) of … Continue reading

Posted in Knowledge, Relax, Uncategorized | Leave a comment

is primitive data moved from heap to stack? primitive variable belong to a object will be in heap it will load the value to the stack once the method is called

Posted in Knowledge | Leave a comment

reference variable vs. instance variable

reference variable Car mycar = new Car(); is the variable which hold the address of the instance instance variable class Car { String color;} mycar.color=”red”; color is the variable within the instance

Posted in Knowledge | Leave a comment