Diagram:The memory allocated by class loader subsystem is divided into 5 parts. Called ³ Run time Data Area´.i)
Method area: I s some part memory in jvm , It is stores class code, method code are stored init.ii)
Heap: This is the place, where Objects are created.iii)
Java Stacks: These are the places where Java methods are executed. Java stacks containframes . Each method is an executed separate frame. Frame is one part of JVM.iv)
Program counter Register: They contain memory and of the instructing to be executed mymicroprocessor.v)
Native method stack: These are the places where native methods[c-language function] areexecuted. C program is can run by JVM. Header file code must be copied in JVM and after executed native method interface is a program that links up native method libraries to JVM.vi)
Execution Engine: It contains interpreter and JIT compiler which convert the byte code intomachine language. [Garbage collector is standard specification in JVM].Hot Spot: It is a block of code allotted to JIT compiler for improving the speed of execution.12) What is API Document?Ans: API document is .html file that contains description of all the features of s/w ,product, Technologies.13) What is difference b/w #include and Import?Ans :
makes the compiler to copy the entire header file code into a C , C ++ programs. Does itincrease program size and waste memory & process time.But Import make JVM to goto Java Library, execute the code there and finally substitute the result intothe java program. No code is copied into java program.