Test: Summary of incorrect questions

Source: Internet
Author: User

Onscroll event: Usually refers to scrolling up and down the scroll bar

B: The logic error in the option refers to a code logic problem, so it cannot be processed

C: The syntax error in the option refers to the generic specification of the code

D: An internal error in the option refers to an error in the program, so it can only be handled through internal code debugging

%l: Indicates where the output log event occurred


There are two types of requests submitted, one is get and one is post. So the Doget () method is called to handle the GET request.

A is inserted after the selected element, C is inserted at the end of the selected element, D is inserted in the front of the selected element, and only B is inserted before the selected element.

This topic examines the construction methods in Java. The construction method can implement the assignment of the property, and when this is called with this class, the other construction methods are placed in the first row. So the answer is C.

The difference between an abstract class and an interface is examined. An abstract class can have a construction method, and its construction method cannot be used as an instantiation object, but it can be called by the quilt class.

An abstract class can have an instance method that inherits from a quilt class. Abstract methods in abstract classes can be public, protected, and default types. Only public static constants and public-type abstract methods are available in the interface.

This topic examines the use of string in C #, where string is an immutable string, unless it is re-assigned, otherwise preserving the original value is not related to the change in the variable used when assigning the value.

Adding an element to the collection is 1, so the result of the first input is 1, the value of the TEMP variable is 1 on the second assignment, so the result of the second output is also 1, and the change of the temp value is not related.

The MouseMove event occurs when the mouse pointer moves through the specified element.

The alpha of the transparency in a: "50%" is not the same as the syntax, in the standard CSS, set the transparency of the property is opacity, its value is a decimal, the value period 0~1, is 0 o'clock full transparent, 1 opaque, C wrong in the Opacity property assignment is incorrect, When animating multiple animations in D using animate (), you need to wrap all the values with "{}", so choose b.


Service (): It is the core of the servlet and is responsible for responding to customer requests.

Destroy (): Executes only once, and executes the method when the server-side stops and the servlet is unloaded. When a Servlet object exits its lifecycle, it is responsible for releasing the resource that is occupied.

Because P-value is 2,switch enter 2 option, no break defaults to default so select D

struct variables do not need to be assigned, methods must be implemented by the method body. So select AB

This is the API for manipulating the DOM in jquery. The HTML () method is used to get the HTML content of an object, and if there are multiple matching values, only the first one is returned, so option A is wrong: the HTML ("content") method is used to set the HTML content of an object, if there are multiple matches , the HTML content of all matching objects is reset, so option B is right. The. Text () is used to return the text content of all matching objects, so option C is right. The. Val () method is used to get the value of the form element, and the P label is not a FORM element, so option D is wrong.


The drop-down value is changed by the change method, not the changed method, so a, d error


d option Error, the jquery object cannot directly invoke the properties and methods of the DOM object and needs to be converted to a DOM object. The correct procedure can be $ (selector). Get (0). style.display = "Block".

A option to assign a value directly to the A.name jack,d option is to assign Jack to B.name first, then B to a, so the A.name value is Jack, so select the A and D options.


The subject is an examination of the HTML (), text (), and Val () methods. The b item is wrong, and text () gets the textual content; C option method does not exist; D option is incorrect. Therefore, select a


A virtual method must have a method body, an abstract method cannot have a method body, an abstract method needs a quilt class implementation, that is, the subclass method is modified with override, and the virtual method is not required; Virtual methods can be in any class, abstract methods can be in the abstract class and interface.


The instanceof operator is used to indicate at run time whether an object is an instance of a particular class. The Chinese class is a subclass of the person class, and P1 is an instance object of the Chinese class, so the output is D.

${MAP.2} Compile error, to access the value corresponding to key in map, need to pass $map["key"]

Test: Summary of incorrect questions

Related Article

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.