In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article is to share with you what are the key points of Android interview. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Text
The whole interview question is divided into three parts: Java, Android and project experience.
Java technology
Java Foundation
Understanding of abstraction, inheritance, and polymorphism
The function and usage scenario of generics
The characteristics and usage scenarios of enumerations
The difference between thread sleep and wait
JAVA reflection mechanism
Differences between weak/soft/strong references
The difference and function between hashCode () and equals () of Object
Collection class
Functions, differences, and performance of common collection classes in JAVA
Concurrency-related collection classes
The internal implementation of some commonly used collection classes
Multithreaded correlation
Thread, Runnable, Callable, Futrue class relations and differences
Which thread pools are provided by default in JDK and what's the difference
There are several ways to synchronize threads, which are used in the project.
On the premise of understanding the default thread pool, implement the thread pool by yourself
4. Character
The immutability of String
The difference between StringBuilder and StringBuffer
Understanding of character sets: Unicode, UTF-8, GB2312, etc.
Problems related to regular expressions
Notes
Use of annotations
The level and significance of annotations
How to customize annotations
Android technology
1. Android Foundation
The meaning and use of the four components, life cycle callback and significance
The use of AsyncTask and Handler
Hierarchical framework of Android system
The implementation of AsyncTask
What should you pay attention to when using AsyncTask
Common storage methods of Android
The relationship between Looper, Handler and MessageQueue
Start-up process of Activity (investigate familiarity with Framwork)
Considerations for multi-process development (Application class distinguishes processes, inter-process memory is invisible, inter-process communication)
2. Resource related
The meaning of the picture
The function and usage of style and theme
The difference and conversion relationship among dpi, sp and px
What is the role of raw and assets folders, and what is the difference between them
How to find the most suitable resource under multiple resource folders in Android system
3. Virtual machine
Java memory model
Characteristics of Android virtual machine
The difference between Dalvik and Art
Familiar with the implementation mechanism of garbage collection, understand the GC type of virtual machine
View correlation
Use of common components: use of ListView, RecyclerView and Adapter
Inheritance relationship between View
The difference between Invalidate and postInvalidate
Customize the implementation of View (ask the relevant components based on the project experience).
The role of onMeasure/onLayout/onDraw
The function of methods for drawing related classes such as Paint, Matrix, Shader, etc.
Describe the event distribution mechanism in detail
Animation
What are the ways to realize animation in Android?
The meaning of Interpolator class and the commonly used Interpolator
What's the difference between ViewAnimation and attribute animation?
How to customize ViewAnimation
The realization principle of attribute Animation
Picture processing
How to load large images in general projects
The way the picture is compressed
How to load a high-definition picture without compressing a picture
In the process of loading pictures, the cache is usually used. What is the main function of this cache?
Talk about the picture loading framework that you are familiar with
Project experience
1. Development tools
Code management tools: SVN, Git
Common debugging tools: Hierarchy Viewer, DDMS, etc.
CI tools: Lint check, FindBugs, Jenkins
Memory analysis tools: dumpsys, memoinfo, MAT
2. Project engineering
APP update strategy: push or pull?
How to handle error crashes in a unified way
How to collect user behavior
What are the key points of log management? (Debug package is open, release package is closed, error log feedback)
Packing methods: Ant, Maven, Gradle
Model adaptation
Open Platform
Have you ever used a third-party platform
Familiarity with common open platforms (Wechat, QQ, Weibo, Alipay, etc.)
Has there been a unified encapsulation of third-party platforms?
Have you ever developed SDK yourself?
Design related
What are the commonly used design patterns and design principles
Application of Design pattern in Android Source Code
Application of Design pattern in Project
Subcontracting methods in the project
Application of MVC in android, advantages and disadvantages
Common hierarchies in android projects, package partitioning
Have you ever designed the hierarchical structure and package division in the project?
Thank you for reading! This is the end of this article on "what are the key points of Android interview?". I hope the above content can be helpful to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.