JAVA网站开发工程师面试题3篇(java工程师面试题大全介绍)

综合文章 时间:2022-10-14
【www.wendang123.cn - 综合文章】

  下面是范文网小编收集的JAVA网站开发工程师面试题3篇(java工程师面试题大全介绍),供大家参阅。

JAVA网站开发工程师面试题3篇(java工程师面试题大全介绍)

JAVA网站开发工程师面试题1

  个人介绍

  姓

  名:

  性

  别:

  户口所在地:

  年

  龄:

  毕 业 院校:

  专

  业:

  学

  历:

  联 系 电 话:

  邮

  箱:

  求职意向 Java软件研发

  英语水平

  四级

  专业技能

? ? 熟练的运用java开发环境和项目构建

  熟练掌握java程序设计语言,有牢固的J2SE基础,能够熟练使用JDBC、Servlet、JSP技术。熟悉C/S,B/S软件架构模式 ? ? ? ? 熟练应用JSP/Servlet/JavaBean的MVC模式开发项目 会基本的EJB技术。熟练使用MyEclipse开发环境 熟悉数据库 SQL Server、Oracle,熟练掌握标准SQL语言

  掌握关系数据库的原理。熟练使用Oracle、SQL Server进行软件系统开发。熟练使用Tomcat服务器。? ? 具备一般的英语读写能力

  初步了解Struts、Hibernate、Spring应用

  项目经验

  一、基于.NET的聊天系统

  描述 :采用的是传统的C/S模式,基于.NET的COM+组件和微软的自带的消息队列(MSMQ),可以很方便的存贮和获取队列中的消息,并且采用管道通信,可以不关心其中的通信原理;该系统的功能比较简单,能够实现局域网通信

  开发技术: + COM+组件 开发工具:MS Visual Studio 数 据 库:SQL Server 角 色:组长(单人开发)

  负责模块:界面、数据库建立和管理、后台的编写等等 时 间:一周

  二、基于Java的聊天系统

  描述:本系统采用的任然是基于传统的C/S模式开发,前台用的是包做的界面,后台的编程采用了一些工厂模式,接口编程,给程序的扩展带来了很大的方便,数

  据库则是利用的文本文件保存相关的信息,采用传统的sql从文本文件中获取自己要的信息,数据库能实现查询、添加、删除等功能。通信则是采用最底层的socket套接字编程;实现的主要功能有:闪屏,截图,托盘显示来信消息,多人会话等 开发技术: socket套接字+面向接口编程+工厂模式 开发工具: 数 据 库:自己写的文本数据库 角 色:组长(单人开发)

  负责模块:页面,数据库的编写,以及所有业务逻辑的编写 时 间:一周

  三、连连看小程序

  描述: 依然是传统的C/S模式开发,该程序有很多细节的地方考虑比较周到,例如只在有图片的地方产生label、图片遍历填充算法、图片连接的算法等,这在一定程度上减少了该程序的内存开销,同样采用了工厂模式,可以在不改变源程序代码的同时,增加新的关卡

  开发技术:J2SE

  开发工具: NetBeans 角 色:组长(单人开发)时 间:三天

  四、库存管理系统

  描述:本系统采用了b/s模式开发,其中用到了jsp、servlet、JavaBean、jstl标签库、el表达式等技术,本人负责入库单和出库单管理模块,其中包含的功能大致有根据进货单产生入库单,根据订货单产生出库单,以及直接导入入库单等,采用了mvc框架,和单例模式,工厂模式开发

  开发技术:J2EE、servlet、jsp、JavaBean、el表达式、jndi等等 开发工具: Myeclipse 角 色:组员 时 间:一周

  自我评价

  吃苦耐劳,有强烈的敬业精神和团队协作精神,能够承受一定的压力,能迅速的适应各

  环境,并融合其中同时对编程具有浓厚的兴趣。

  有积极进取的工作精神和实际动手能力,对新知识、新技术有着强烈的求知欲与良好的接受能力。

JAVA网站开发工程师面试题2

  1、编写程序

  题目:古典问题:有一对公母猪,从出生后第3个月起每个月都生一对猪,小猪长到第三个月后每个月又生一对猪,假如猪都不死,问每个月的猪总数为多少?

  答案:

  public class lianxi01 {

  public static void main(String[] args){

(“第1个月的兔子对数: 1”);

(“第2个月的兔子对数:1”);

  int f1 = 1, f2 = 1, f, M=24;

  for(int i=3;i<=M;i++){

  f = f2;

  f2 = f1 + f2;

  f1 = f;

(“第” + i +“个月的兔子对数: ”+f2);

}

}

}

  2、是非题

Java程序中的起始类名称必须与存放该类的文件名相同。()

  答案:正确

原生类中的数据类型均可任意转换。()

  答案:错误

  3、问答题

try {}里有一个return语句,那么紧跟在这个try后的finally {}里的code会不会被执行,什么时候被执行,在return前还是后?

  答案:

  会执行,在return前执行。

sleep()和 wait()有什么区别:

  答案:

  sleep是线程类(Thread)的方法,导致此线程暂停执行指定时间,给执行机会给其他线程,但是监控状态依然保持,到时后会自动恢复。调用sleep不会 释放对象锁。wait是Object类的方法,对此对象调用wait方法导致本线程放弃对象锁,进入等待此对象的等待锁定池,只有针对此对象发出notify方法(或notifyAll)后本线程才进入对象锁定池准备获得对象锁进入运行状态。

  4、数据库题

  聚集函数的应用

  编写一条sql语句,希望从艺术家表artist_tab中,看到只有一个专长specialty的是哪些专长

  答案:seelctspecialty from artist_tab group by specialty having count(*)=1’;

JAVA网站开发工程师面试题3

  西安三元数码软件有限公司 外派JAVA软件工程师笔试题4303

  返回上级目录

  选择题

  1:在软件生命周期中,下列哪个说法是不准确的?

  A.软件生命周期分为计划、开发和运行三个阶段

  B.在计划阶段要进行问题焉醛和需求分析

  C.在开发后期要进行编写代码和软件测试

  D.在运行阶段主要是进行软件维护

  2:public class Parent {

  int change(){…} }

  Class Child extends Parent {

}

  Which methods can be added into class Child?

int change(){} int chang(){} int change(){} 3:

the following method: void method(){ a,b;

=new String(“hello world”);=new String(“game over”);(a+b+”ok”);=null;=b;

(a);10.}

the absence of compiler optimization, which is the earliest point the object a refered is definitely elibile to be garbage line 5 line 6 line 7 line 9 4:

s=”Example String”;Which operation is not legal? i=();[3]=”x”;

short_s=(); t=”root”+s;

  5:关于垃圾收集的哪些叙述是对的。

  A.程序开发者必须自己创建一个线程进行内存释放的工作。

  B.垃圾收集将检查并释放不再使用的内存。

  C.垃圾收集允许程序开发者明确指定并立即释放该内存。

  D.垃圾收集能够在期望的时间释放被java对象使用的内存。

  6:

the following code: class Example{

static void main(String args[]){ l=0;{

(“Doing it for l is:”+l);7.}while(--l>0)

(“Finish”);9.} 10.}

well be output: it for l is 3 it for l is 1 it for l is 2 it for l is 0

  7: Which of the following statements are true?

automatic garbage collection of the JVM prevents programs from ever running out of memory

program can suggest that garbage collection be performed and force it collection is platform independent

object becomes eligible for garbage collection when all references denoting it are set to :下面关于变量及其范围的陈述哪些是错的。

  A.实例变量是类的成员变量。

  B.实例变量用关键字static声明。

  C.在方法中定义的局部变量在该方法被执行时创建

  D.局部变量在使用前必须被初始化。

  9:

is the most appropriate code snippet that can be inserted at line 18 in the following code? (Assume that the code is compiled and run with assertions enabled) *; class AssertTest { HashMap cctld; AssertTest(){ = new HashMap();(“in”, “India”);(“uk”, “United Kingdom”);(“au”, “Australia”);// more code...} // other methods.... String getCountry(String countryCode){ // What should be inserted here? country =(String)(countryCode); country;} } countryCode!= null;

countryCode!= null : “Country code can not be null”; cctld!= null : “No country code data is available”; cctld : “No country code data is available”;10:在下述选项时,没有构成死循环的程序是

i=100 while(1){ i=i%100+1;if(i>100)break;} (;;);

k=1000;do { ++k;}while(k>=); s=36;while(s);--s;11:

  1.给出下面的代码片断。。下面的哪些陈述为错误的? )public void create(){ )Vector myVect;)myVect = new Vector();)} A.第二行的声明不会为变量myVect分配内存空间。

  B.第二行语句创建一个Vector类对象。

  C.第三行语句创建一个Vector类对象。

  D.第三行语句为一个Vector类对象分配内存空间

  12:A class design requires that a member variable should be accessible only by same package, which modifer word should be used?

modifer 13:

the following java source fragement: 2.//point x

class Interesting{ 4.//do something 5.}

statement is correctly Java syntax at point x? class MyClass{//do other thing…} int PI=

MyClass{//do something…}

  14:Which fragments are not correct in Java source file?

testpackage;public class Test{//do something...}

*;package testpackage;public class Test{// do something...}

*;class Person{// do something...} public class Test{// do something...} *;import *;public class Test{// do something...} 15:以下的C程序代码片段运行后C和d的值分别是多少

  int a =1,b =2;Int c,d;c =(a&b)&&a;d =(a&&b)&a;

,0 ,1 ,0 ,1 16:

will be the result of executing the following code? static void main(String args[])4.{

digit = 'a';

(int i = 0;i < 10;i++)7.{

(digit)9.{

'x' : 11.{ j = 0;(j);14.} : 16.{

j = 100;(j);19.} 20.} 21.} i = j;

(i);24.} : will be printed 11 code will not compile because the variable i cannot be declared twice within the main() code will not compile because the variable j cannot be declared twice within the switch of :

this class outline: Example{ int x;

  4.//rest of class body… 5.}

that x invoked by the code java Example, which statement can made x be directly accessible in main()method of ? private int x to public int x private int x to static int x private int x to protected int x private int x to final int x 18:Which are not Java keywords?

  19:设有变量说明语句int a=1,b=0;则执行以下程序段的输出结果为()。

  switch(a){ case 1: switch(b){

  Case 0:printf(“**0**”);break;case 1:printf(“**1**”);break;}

  Case 2:printf(“**2**”);break;}

  printf(“n”);

  A.**0** B.**0****2** C.**0****1****2** D.有语法错误

  20:软件生命周期的瀑布模型把软件项目分为3个阶段、8个子阶段,以下哪一个是正常的开发顺序?

  A.计划阶段、开发阶段、运行阶段

  B.设计阶段、开发阶段、编码阶段

  C.设计阶段、编码阶段、维护阶段

  D.计划阶段、编码阶段、测试阶段

  21:

will happen when you attempt to compile and run the following code? Base { i = 99; void amethod(){

(“()”);} (){

();} }

class Derived extends Base {

i =-1; static void main(String argv[]){

b = new Derived();();();} void amethod(){

(“()”);} }

: ()-1 ()()99 time error ()简答题

  22:怎样在复杂的各种形式的网页中提取mp3下载的结构化数据?

  23:编写一程序,利用RandomAccessFile类将一个文件的全部内容追加到另一个文件的末尾。

  24:已知abc+cba=1333,其中a,b,c均为一位数,编程求出满足条件的a,b,c所有组合。

  25:servlet的生命周期?

  26:Static Inner Class 和 Inner Class的不同,说得越多越好。

  27:如果有几千个session,怎么提高效率。

  28:

class Something { doSomething(){ String s = ""; l = ();5.} 6.} 7.有错吗? 29:是否可以从一个static方法内部发出对非static方法的调用?

  30:error和exception有什么区别?

  31:Is Tomcat faster than serving static HTML pages than Apache httpd?

相关热搜
相关文章