Java written test question Bank (01 issue) __java

Source: Internet
Author: User
Java Written test Bank (01 issue)

Objective

Unknowingly run this public number for some time, I am glad to know so many friends, the follow-up to the Java companion will push some of the network's selected technical articles mainly. At the same time do not regularly collate some of the questions, data structure for everyone in the free time to practice.

Selected types of basic sources of network, here will do a simple screening, but because of the ability and time problems, there will inevitably be some mistakes, if you find out which questions are wrong, welcome to leave a message in the article, also welcomed the active discussion.

Finally, if you have a good article recommended, or have good questions to share with you, welcome to contact me or message board, if you have good suggestions or comments, also welcome message.


1. The most commonly used class in Spring DAO is ()

A,jdbctemplate, Simplejdbctemplate

B,simplejdbcinsert,simplejdbcprocedure

C,simplejdbcinsert, Simplejdbcstoredproc

D,simplejdbcquery, Simplejdbcexec

Correct answer: A


2. In Spring AOP, the weaving can be completed at the following time ()

A, all options

B,run time

C,load time

D,compile time

Correct answer: A


3, the following about the spring MVC description is correct ()

A,dispatcherservlet is the core servlet in Spring MVC, which is responsible for receiving requests and distributing requests to appropriate controllers

B, in spring MVC, you can configure multiple Dispatcherservlet

C, all options

D, to make spring MVC available, Dispatcherservlet needs to be configured in Web.xml

Correct answer: C


4. Which of the following is spring Auto mount mode ()

A,autodetect

B, all options

C,constructor

D,byname, Bytype

Correct answer: B


5. In Spring, which of the following is not a method of using a transaction ()

A,proxies

b,declaratively

c,programmaticly

Correct answer: A



6, Spring provides the abstraction of the JMS layer, correct ()

A, correct

B, wrong

Correct answer: A


7, about "@Order" annotation, the most correct description is ()

A, implement Org.springframework.core.Ordered interface

B, specify the scope of a bean

C, properties that are commonly used to inject domain objects

D, it's all wrong.

Correct answer: A


8. How to use SLF4J in Spring application ()

A, as a log frame

B, it's all wrong.

C, as a bean

D, as a JDBC framework

Correct answer: A


9. The default scope of the Spring Bean is ()

A, it's all wrong.

B,singleton

C,prototype

D,session

E, Abstract

Correct answer: B


10, in spring, a single example means that there is only one instance per _____ ()

A,context

B, JVM

C,thread

Correct answer: A




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.