Several interview questions

xiaoxiao2021-03-05  23

v

This is a few interview questions I have designed, requiring the topic as little, can be completed within 5 minutes, but can basically reflect the knowledge level of the obedience. So I designed six questions.

If you can complete independently (don't look at the information, don't make a debug) answer more than 60 or more, find a job with more than 6,000 yuan, give you introductions 1. Brief description logic operation (&, ^) and conditional operation ( The difference between &&, ||). (15 points) 2. What happens to the following procedure? If there is any error, how to correct? (15 points) Interface a {int x = 0;} Class B {INT X = 1;} Class C Extends b IMPLEments A { Public void px () {system.out.println (x); public static void main (String [] args) {new c (). px ();}}}

3. Briefly describe the connection and difference between Java Server Page and Servlet. (20 points) 4. How many forms of definition of xml documentation? What is the essence difference between them? What kind of way to parse XML documents? (20 points) 5. Briefly describe the difference between SYNCHRONIZED and Java.util.Concurrent.locks.lock? (15 points) 6. EJB specification specified what is prohibited in EJB? (15 marks)

Finally, there is a test of your eyesight:

Public String Tostring () {Return this "@" this.hashcode ();} This toString () method implements unusual place? (Tostring method can actually output some of the information you want to output )

转载请注明原文地址:https://www.9cbs.com/read-35077.html

New Post(0)