Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the common multiple choice questions in Android interview questions?

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

Today, I will talk to you about the common multiple choice questions in the Android interview questions, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following contents for you. I hope you can get something according to this article.

1. Which of the following statements is true about memory collection? (b)

Programmers must create a thread to free memory

B. the memory collector is responsible for releasing useless memory

C. The memory collector allows programmers to release memory directly.

D. The memory collector can release memory objects at a specified time.

two。 The following exception belongs to Runtime Exception is (abcd) (multiple selections)

A 、 ArithmeticException

B 、 IllegalArgumentException

C 、 NullPointerException

D 、 BufferUnderflowException

How much () is 3.Math.round (11.5)? Math.round (- 11.5) equals how much (c).

A, 11,-11 B, 11,-12 C, 12,-11 D, 12-12

Explanation: the rounding algorithm in java is to add 0.5 to the original value, and then take the value closest to it.

4. The output of the following program segments is: (B)

1. Void complicatedexpression_r () {

2. Int Xerox 20, YPY 30

3. Boolean b

4. Breadx > 50 years > 60 | | x > 50 years

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.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report