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 invisible and gone for the View visibility status?

middle

Explain String vs StringBuilder vs SpannedString vs SpannableString vs SpannableStringBuilder vs
CharSequence ?

middle

What are dex files are used for?

Bình luận

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

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