java architect interview questions and answers

Want to know java architect interview questions and answers? we have a huge selection of java architect interview questions and answers information on alibabacloud.com

Java Developer written interview 12 questions per day

. Briefly describe the meaning of the viewThe meaning of a view lies in two ways:1) simplify complex queries. If you need to perform a complex query frequently, you can build a view based on this complex query, and then query this view.2) Restrict data access. A view is essentially a SELECT statement, so when you access the view, you can only access the columns that are involved in the corresponding SELECT statement, and the other columns in the Base table act as security and secrecy.11. What ar

Java written interview questions (ii)

a daily sentence: Life is full of expectations, the dream of connecting the future! Java fresh or self-taught beginner's written interview topic summary, I hope that everyone has help, the topic from their own learning summary and teacher explanation, network resources, books and materials. Knock out everyone to see, every time to update the topic, I hope you can find a good job.Part I: The basic partThe un

Java Algorithm interview questions: Separate them with carriage return or space in the answer file .,

Java Algorithm interview questions: Separate them with carriage return or space in the answer file ., Package com. swift; import java. io. bufferedReader; import java. io. bufferedWriter; import java. io. fileInputStream; import

Interview Questions-java Basics-collections and arrays

threads are not able to modify objects in the collection that is being traversed by iterator. At the same time, iterator allows the caller to delete elements from the underlying collection, which is not possible for enumeration.What is the difference between 17.HashSet and TreeSet?HashSet is implemented by a hash table, so its elements are unordered. The time complexity of the add (), remove (), contains () method is O (1).On the other hand, TreeSet is implemented by a tree-shaped structure in

Java interview questions: how to sort HashMap key values

Java interview questions: how to sort HashMap key values In Java, HashMap is a data structure used to store "key" and "value" Information pairs. Unlike Array, ArrayList, and lists, it does not maintain the order of inserted elements.Therefore, sorting HashMap Based on keys or values is a very difficult

Ali Java Development interview Frequently asked Questions summary 3

into the corresponding method to invoke the logical layer of the method to achieve response to the customer.There are no doget, dopost, and so on in the Servlet interface and Genericservlet, these methods are defined in HttpServlet, but all return error information, so, each time we define a servlet, Must implement these methods such as Doget or Dopost.Each custom servlet must implement the Servlet interface, and the Servlet interface defines five methods, of which the more important three meth

Huawei's Java interview questions

Huawei's Java interview questions Question No: 1 1. Public class test { Public static void changestr (string Str ){ STR = "welcome "; } Public static void main (string [] ARGs ){ String STR = "1234 "; Changestr (STR ); System. Out. println (STR ); } } Please write the output result: Question No: 2 1. Public class test { 2. Static Boolean Foo (char c ){ 3. syst

Sword refers to Java Implementation of offer programming questions-the integer power of the value of interview question 11, and sword refers to offer

Sword refers to Java Implementation of offer programming questions-the integer power of the value of interview question 11, and sword refers to offer Question: Implement the double power (double base, int exponent) function to calculate the power of base's exponent. Do not use library functions, and do not need to consider large numbers. Solution: the most common

Sword refers to the Java Implementation of offer programming questions -- interview question 6 re-constructs a binary tree, and sword refers to offer

Sword refers to the Java Implementation of offer programming questions -- interview question 6 re-constructs a binary tree, and sword refers to offer Question: Enter the result of the forward and middle traversal of a binary tree. Create a New Binary Tree. Assume that the input results do not contain repeated numbers.For example, if the input preorder traversal s

Sword refers to Java Implementation of offer programming questions -- interview question 13 deletes linked list nodes in O (1) time, and sword refers to offer

Sword refers to Java Implementation of offer programming questions -- interview question 13 deletes linked list nodes in O (1) time, and sword refers to offer Question: given a one-way linked list head pointer and a node pointer, define a function to delete the node at O (1) time. Given a one-way linked list, the time complexity of normal Chain List deletion is t

Java --------------- String basic interview questions

Java --------------- String basic interview questions Package stu. love. a;/* String: */public class StringDemo {public static void main (String [] args) {// the String is a constant. Once a String is created, the String ss = "hello"; ss = "world"; System. out. println (ss); // special case:/* when defining s2, go to the constant pool to check whether the string

Front-end interview-the difference between 2-java and JavaScript in difficult questions

configuration. While JavaScript is interpreted to perform without generating intermediate files, "read a sentence, execute a sentence", the execution can generally be done in three ways:1. The general browser comes with the JS interpreter, which can be used directly by the browser;2. Special interpreter software can be installed node. js, executing the. js file;3. Executed with the Web page, using the Third, the data typeJava is a strongly typed language, and when it comes to data, the declarat

Java Interview | Selected basic Questions

Analysis:Store basic data types1. Create an arr reference in the stack2. Create an int array of length 3 in the heap and initialize it, assigning the default value of 03. Point an ARR reference to an int array4. Re-assign values to each int value in an int arrayStore reference type User1. Create a Userarr reference in the stack2. Create a user array of length 3 in the heap and initialize it, assigning a default value of NULL3. Point the Userarr reference to the user array4. Create a user1,user2

Interview Questions-java Basics-garbage collection

(throughput) collector?The throughput collector uses a parallel version of the new generation garbage collector, which is used for medium-sized and large-scale data applications. The serial collector is sufficient for most small applications, which require about 100M of memory on modern processors.7. In Java, when can objects be garbage collected?This object can be recycled when the object becomes inaccessible to applications that currently use the o

Java multi-thread interview questions

Java multi-thread interview questions 1. What is the difference between ArrayList and Vecoter? Similarities and differences between Array and ArrayListI. Differences between Array and ArrayList#1. variables of the Array type must be instantiated at the same time (at least the size of the Array must be initialized), while ArrayList can only be declared first.For e

Java Collection framework grooming (with classic interview questions)

. At the same time if there are multiple threads accessing Hashmap,collections.synchronizedmap () can be substituted, generally hashmap more flexible.10. Why is the vector considered to be obsolete or unofficially deprecated? Or why we should always use ArrayList instead of vectors.You should use ArrayList instead of vectors because by default you are non-synchronous, vectors synchronize each method, you almost never do that, and usually you want to synchronize the entire sequence of operations.

Java interview questions (86-115)

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 )

Java multithreading interview questions Induction

Java multithreading interview questions Induction1. What are the implementation methods for multithreading? The following example shows the thread synchronization. (1) Java multithreading has two implementation methods: Inheriting the Thread class and implementing the Runnable interface. Thread implements the Runnable

Some finishing questions about the Beginner Java interview (partially transferred from others)

values that cannot be changed. The string provided by this StringBuffer class is modified. You can use StringBuffer when you know that character data is going to change. Typically, you can use Stringbuffers to dynamically construct character data.5. What are the similarities and differences between abnormal operation and general anomaly?An exception represents an unhealthy state that may occur during a program's run, and a run-time exception that represents an exception that may be encountered

"--java" Interview questions (2)

are characterized by the inability to define variables, and all methods are abstract methods . abstract classes can have variables and do not enforce the need for abstract methods .Inheritance of class 16 and implementation of interfacesParsing: Class Inheriting the parent class implements the interface with the class, which is essentially the same. is to either extend or rewrite the parent class or interface as a template on this template. In practical programming, programmers often need to in

Total Pages: 15 1 .... 11 12 13 14 15 Go to: Go

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.