Câu hỏi phỏng vấn Android
Câu hỏi

Is a Dalvik virtual machine inst...

Câu trả lời

Yes, a Dalvik virtual machine instance is created for each Android application[1][2][3]. Every Android application runs in its own process, with its own instance of the Dalvik virtual machine[1][2].

The Dalvik VM executes files in the Dalvik Executable (.dex) format which is optimized for minimal memory footprint[1]. It is a register-based VM that runs classes compiled by a Java language compiler that have been transformed into the .dex format[1].

Each process on Android has its own instance of the Dalvik VM, which is created along with the process, and destroyed during process termination[2]. The Zygote process forks to create new app processes, which share a copy of the DVM initialized by Zygote to avoid duplicate pages in memo...

senior

senior

Gợi ý câu hỏi phỏng vấn

middle

What is the difference between AsyncTask and Thread/Runnable ?

senior

When to use SparseArray vs HashMap ?

middle

What does LayoutInflater in Android do?

Bình luận

Chưa có bình luận nào

Chưa có bình luận nào