Today's headlines Android development intern interview

Source: Internet
Author: User

Internship Monk on the delivery of resumes, 6.25 pm delivery, the same day is viewed, 6.26 a.m. received interview invitation, agreed to interview time 7.4 14:00

Not estimated the time on the road, about 1:10 minutes to arrive, in the first floor of the rest area for half an hour, just upstairs to the front desk registration interview, interview many people, thought to wait a long time, did not think just sat down was called, Emmmm, interview this post only I one?

On one side, it's a female interviewer, 45 minutes.

Introduce yourself first, then ... "Let's write an algorithm, write a merge sort."

My God, I have been ignorant of the good, how to do, cover my little heart write Ah, fortunately before a few of the most commonly used algorithms have been collated, go to the road has been looking at a few algorithmic code, stumbled finally with recursion to write, fortunately she did not request to use iterative writing, really let the head big.

Then asked the network-related questions:

Request process for HTTP

Three-time handshake for TCP

How a user accesses a server through a URL address, how does it know which browser to access

What is in the HTTP request header (this is not very remember, do not answer)

The difference between HTTP and HTTPS

Network of Seven layer protocol (not prepared this, although learned, but forgot ...) )

The difference between get and post

Followed by Java-related

Have you ever used a lock, what is the lock on the lock loading method (what does my heart mean?) A random answer to an object lock, didn't think it was really ... )

A Class A B two methods are locked, c thread access a when the D can access B?

What does it mean to re-enter the lock?

What does a class do with final decoration? (heart: And this?) )

JVM memory model, why should you understand '

garbage collection mechanisms, which are the objects to be recycled (which are recycled?). No, the dead object. What is the basis of judgment?? Phuket

Have you ever heard of annotations? (I've learned that annotations are for people to see, annotations to machines, override, suppress warnings, etc.)

Custom annotations? (@interface) The specific implementation principle (do not know) the source code phase or compile-time or run-time (I say compile, it seems wrong?) )

(Before watching video on Bilibili, I took notes, but the feeling was, annotation?) Interviewer can not ask this question, white school,, today, hehe Hey, happy)

Then it's Android development-related

The difference between singleinstance and Singletask (I remember the reverse, cover my face)

Do you know how to gesture (NO)

The difference between Recycleview and ListView (only knowing that the former can be partially refreshed)

Have you ever learned about Android technology? No

The difference between view and ViewGroup (I don't know)

Two sides, male interviewer, a look is the technical big guy, 60 minutes

Introduce yourself first, then ... Handwriting program ... In the shortest time, the calculation of the size of the 5 disks and the invocation process of each disk's calculation method are time consuming

It's a blind face. This really doesn't ... Forced creation of 5 threads: Then what to do I do not know, simply let the direct calculation ....

Differences between TCP and UDP, usage scenarios

Write a singleton mode, how to do thread safety (double locking) (also write ... )

Find the largest n values in an array, and then return to the array. (also write ... Didn't feel good. )

Volatile effect? How do I ensure that threads are visible? (Answer some, the feeling may answer the depth is not enough, this question asked for a long time)

The difference between serializing serializable and parcelable (I ... The interviewer was not going to write the word serialized, ready to find it on the computer, I said to him, don't look, I won't! The first one I've seen, the second one I've never seen. Really did not review to ... At that time did not learn to understand .... )

Android related

The state after which the activity is partially obscured, and the state after the occlusion is removed (OnPause (), Onresume ())

SingleInstance and Singletask application scenarios (only the main interface with Singletask)

Draw a stack diagram of multiple activity

Onnewintent method in activity (not seen)

What does the parameter of a method in the ListView mean? (I don't know)

Also asked a lot of it, anyway will not ...

One last question:

Integer a=1

Integer b=1

Integer c=new integer (1);

Integer d=129

Integer e=129

= = return results, hehe hey, it was also skin a bit, I said, was not very sure, but since you have asked A==b, that d==e must be false, and then say 0-127, these 128 numbers are certainly equal;

Did not expect the skin, people immediately after asked me, that-3? I really do not know the principle, but I think it must be equal, intuition and the confidence of the fans!

Finally, the interviewer said, my questions are all done, do you have anything to ask me?

I do not know what to ask Ah, directly said no, and then the interviewer asked, no?

I.. Do you have a girlfriend then? The interviewer said it was inconvenient to tell me. =

HR interview notice, Emmm, but I feel like I'm getting cold.

Click the author's name and the author of The big guy to communicate ~

Preserved egg with lean meat porridge.

Source: Niu Ke net (www.nowcoder.com)

-The Internet name Enterprise written a real problem

-School recruit Job pen by &

-Programmer/Product/Operation job placement information

-Programmer/Product/Operations Learning Exchange Community

Today's headlines Android development intern interview

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.