Multithreading and concurrency issues are among the questions that interviewers prefer to ask in a Java technology interview. Here, the most important questions are listed from the interview point of view, but you should still have a solid grasp of the basics of Java multithreading to match the problems you encounter l
1. The relationship between JDK,JRE,JVMJVMIs the Java virtual machine, is the Java important guarantee of cross-platform, JVM realize the Java premise of cross-platform, can be different for different operating system JVM .Languages can be said to Java be cross-platform, but JVM not.JREIs the
primitive types in generics. The 2nd difference between them is that you can pass any type with a parameter to the original type List, but you cannot pass list144, write a generic program to implement the LRU cache?This is the equivalent of an exercise for people who like Java programming. To give you a hint, linkedhashmap can be used to implement a fixed-size LRU cache, which moves the oldest key-value pairs out of the cache when the LRU cache is fu
I was also reading the interview book while learning the video. The record is as follows:
1. LostAfter learning the 2010java high-tech video from Teacher Zhang Xiaoxiang for so many days, he looked at generics, reflection and other things and turned his mind away. He just learned that none of the Main Lines dragged me. That is to say, I am eager to know what major technologies will be required for future development and what is the
execution path; the so-called execution path refers to the directory list where the operating system searches for a local executable file.The same level directory in Jdk\bin contains the Src.zip file, which is the source code for all public classesGet more source code (compilers, virtual machines, local methods, and private helper classes, etc.) with access to: Oracle.net.Here is the anatomy of the JDK section:The difference between the JDK and the JRE can be seen clearly:There are three types
the interviewer came, first gave a piece of paper let me do the question and then left, I look at a face, 15min did not write; After the interviewer came back to ask me what the situation, I said I am not familiar with Java, he said this is not Java, very embarrassing. He asked me to write a binary tree follow-up traversal non-recursive, but also a face, tossing a half-day even a train of thought also, did
I. Working principles and concepts of spring's core (IOC and DI,AOP).1.IOC Control InversionConcept: Control is shifted from the object itself to the container; The container creates an instance from the configuration file and creates a dependency between the individual instancesCore: Bean factory; In spring, the individual instances created by the Bean factory are called beans.2.Di Dependency InjectionIn fact, Di and IOC are the same concept, because
First, to talk about final, finally, finalize the difference. Most often asked.Second, Anonymous Inner class (anonymous inner Class) can extends (inherit) other classes, can implements (implement) interface (interface)?Thirdly, the Static Nested class and the Inner class are different, the more said the better (some of the questions are very general).The difference between, and . This is a very small question.The difference between HashMap and Hashtable. Frequently asked.The difference between t
Java memory allocation and management is one of the core technologies of java, today we go deep into the Java core, in detail about the Java in memory allocation Knowledge. In general, Java
Recently quit, face a few Java senior post, deep feeling, hereby write a blog record.Impression 1: Long time no interview, many of the concept of things are forgotten, the first few interviews good embarrassment, words are not clear. Later, after several times in the heart, I began to leisurely. The specific interview question is actually not much difficult, at t
In the company as a technical interviewer for a few years, from graduating students to work more than 10 years of candidates have met. Let me start by expressing my own views on the interview:1. Written test, interview to evaluate a person is certainly not accurate, understand a person the most accurate way is "road distance horse horsepower, long time see Heart". Through the one or two hours of doing the p
filter can only be called once when the container is initialized (theinit method ).6 The role of the STRUTS2 core controllerThe role of Strutsprepareandexecutefilter :Responsible for intercepting all user requests specified by By default. Suppose the user requests a path with no suffix or suffix ending with a. Action, and the request is transferred to the STRUTS2 framework, otherwise the STRUTS2 framework will skip processing the request.The ability
[Java Study Notes] Chapter 4 of Java core technologies
Chapter 5 basic concepts of objects and classes 4th and objects
Describes the basic concepts of classes and objects and the relationship between classes.
Many objects in the program come from the standard library and some custom objects.
Structured Program Design: design a series of processes (algorithms) an
Java programmer interview questions (86-115)
86. In Struts 2, how does Action obtain the data that the user inputs from the page, and how does it transmit its own data to the view?
A: There are three ways for Action to retrieve data from the page:
1) accept parameters through the Action attribute
2) obtain parameters through the domain model
3) ModelDriven
)
Action saves data to the Value Stack. View
very good implementation
3. Main components of the thread poolA thread pool consists of the following four basic components:
Thread pool Manager (ThreadPool): Used to create and manage thread pools, including creating a thread pool, destroying the thread pool, adding new tasks;
Worker thread (workthread): Thread pool threads, in the absence of a task in the waiting state, you can cycle the execution of tasks;
Task Interfaces (tasks): Each task must implement an interf
1. JVM-related (includes features for each version)For those who have just come into contact with Java, the knowledge of the JVM does not necessarily need to be understood very deeply, there is some simple understanding of the concept. But for a veteran developer with more than 3 years of Java experience, the JVM is almost unacceptable. The JVM, as the basis for running
1. What is the B/s structure? What is the C/s architecture
b/S (browser/server), browser/server program
c/S (client/server), client/server, desktop applications2. What do you know about network protocols?HTTP: Hypertext Transfer ProtocolFTP: File Transfer ProtocolSMPT: Simple Mail protocolTELNET: Remote terminal protocolPOP3: Mail Read protocol
What are the development platforms for 3.Java?JAVA
The difference between JDK and JRE:A: The JDK is the Java language Development kit that contains the JRE and development Kit (Java,exe, etc.), the Java language of the runtime environment, including the JVM and the core class library, the JVM is a Java virtual machine, to en
Write in front: This article for Java is already very good big hand, there is no need to read, because for you, this TM is simply too simple ....We have all experienced the interview, do you really understand the interview? For the interview I just want to say that the purpose of the
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.