com.wxpn.tutorial是什么?com.wxpn.tutorial.servlet;这是指什么?import com.wxpn.tutorial.db.ConnectionPool;import com.wxpn.tutorial.db.DB; 又指什么?建servlet 时,这个和那些有关系么?

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/17 05:34:05

com.wxpn.tutorial是什么?com.wxpn.tutorial.servlet;这是指什么?import com.wxpn.tutorial.db.ConnectionPool;import com.wxpn.tutorial.db.DB; 又指什么?建servlet 时,这个和那些有关系么?
com.wxpn.tutorial是什么?
com.wxpn.tutorial.servlet;
这是指什么?import com.wxpn.tutorial.db.ConnectionPool;
import com.wxpn.tutorial.db.DB; 又指什么?
建servlet 时,这个和那些有关系么?

com.wxpn.tutorial是什么?com.wxpn.tutorial.servlet;这是指什么?import com.wxpn.tutorial.db.ConnectionPool;import com.wxpn.tutorial.db.DB; 又指什么?建servlet 时,这个和那些有关系么?
"com.wxpn.tutorial.db.ConnectionPool" is called fully qualified class name of class "ConnectionPool",or its full name.
"com.wxpn.tutorial.db" is its package name.
you "import" the fully qualified class name into your class,so that you can use the short name "ConnectionPool" within you class.
you import other classes so that you don't need to write them again.