java英文面试题

java英文面试题 | 楼主 | 2016-10-19 20:05:01 共有1个回复
  1. 1IBM java 英文面试题

摘要:答触发器是一中特殊的存储过程主要是通过事件来触发而被执行的,索引可以是唯一的创建索引允许指定单个列或者是多个列,一般不使用游标但是需要逐条处理数据的时候游标显得十分重要。以下是小编整理的1篇最新java英文面试题范文,欢迎参阅!

IBM java 英文面试题2016-10-19 20:02:02 | #1楼回目录

IBM java 英文面试题(附参考答案)

1.what is oracle.

2.what is major differenece oracle8i and oracle9i.

#url#l me some thing ur self.

5.please tell me about oops.

6.what is single inheritance.

7.what is multiple inheritance.

8.can java support multiple inheritance.

9.what is interface.

10.what is differenec between abstract claand interface.

11.how to u prove that abstrace clacannot instantiate directly.

12.what is differenece between string and stringbuffer.

13.what is immutable

14.how to write a program using sort program.

15 how to write a program using unsort program.

16.what is legacy.

17.what is legacy api

18.what is legacy interface.

19.what is main difference hashmap and hastable

20.what is main difference between arraylist and vector.

21.what is struts framework.

22.what are distributed techonologies.

23.what is advantage and disadvantage of distributed techonologies.

24.what is main difference between jsp and servlets.

25.what is difference between procedure and functions.

26.what is jdbc.

27.what are type of drivers.

28.what is type 4 driver.

29.how to collect requuirements form u r client.

30.which proceuse in ur project.

31.what is deployment descriptor.

32.what is heirarchy of files in struts.

33.please draw struts frame wrok.

34.please draw j2ee architecture.

35.please draw mvc-2 architecture.

36.please draw that how design op module.

37.how to find a file on linux.

38.how to configure weblogic8.1 on linux.

39.why you use struts framework in ur project.

40.what is platfrom independent

41.what is awt and swing.

42.what is heavy wieght components.

43.what is feature of weblgoic8.1.

44.why you choose application server on linux and database server on aix.

45.please tell me about ur project.

46.what is major concepts in oops.

47.why u choose mvc-2 architecture.

48.what is implicit object.

49.how many implicit objects in jsp

50.why choose weblogic8.1 other than any applicationserver.

51.what is water fall model vs sdlc

52.what is use of dataflowdiagrams

53.wha t is ip in ur project.

54.what about reception module

—————————————————————————————————————————————————————————

1. Oracle is an RDBMS product with DDL and DML from a company called Oracle Inc.

2. Difference between 8i and 9i is given in the Oracle site

3. Question not available

4. Something

5. oops is Object Oriented Programming

6.what is single inheritance.

ans:one clais inherited by only other one class

7.what is multiple inheritance.

ans:One clainheriting more than one claat atime

8.can java support multiple inheritance.

ans:No

9.what is interface.

ans:Interface has only method declarations but no defn

10.what is differenec between abstract claand interface.

ans:In abstract clasome methods may contain definition,but in interface every method should be abstract

11.how to u prove that abstrace clacannot instantiate directly.

ans:As they dont have constructor they cant be instantiated

12.what is differenece between string and stringbuffer.

ans:Strings are immutable where as string buffer can be modified

13.what is immutable

ans:Which cant be changed

14.how to write a program using sort program.

15 how to write a program using unsort program.

ans: Both can be done using javascript

This is for Sort

function SelectTextSort(obj) { // sort by text

var N=obj.options.length;

for (var i=0;i<N-1;i++) {

for (var j=i+1;j<N;j++) {

if ( obj.options[i].text > obj.options[j].text ) {

var i1= (obj.options[i].selected == true ) ? true : false

var j1= (obj.options[j].selected == true ) ? true : false

var q1 = obj.options[j].text;

var q2 = obj.options[j].value;

obj.options[j].text= obj.options[i].text;

obj.options[j].value = obj.options[i].value;

obj.options[i].text= q1;

obj.options[i].value = q2;

obj.options[i].selected = (j1 && true ) ? true : false

obj.options[j].selected = (i1 && true ) ? true : false

}

}

}

return true

}

16.what is legacy.

17.what is legacy api

18.what is legacy interface.

ans: legacy is something that is old in terms of technology/ system

19.what is main difference hashmap and hastable

ans:Hash table is synchronised

20.what is main difference between arraylist and vector.

ans:Vector is synchronised

21.what is struts framework.

22.what are distributed techonologies.

distributed technologies means any technology / s/w program that are having many components in multiple environments that interact with each other depending on the functional requirements and design.

23.what is advantage and disadvantage of distributed techonologies.

overdependance on single platform / single language is avoided.Application can be built flexible to meet requirements. Division of labour is possible.Best of all the technologies and platforms can be optimally #url#plexity of requirements can be reduced.

25.what is difference between procedure and functions.'

ans:Fuctions can return value ,procedures cant return value

26.what is jdbc.

ans:Connecting to DB from java program requires JDBC

27.what are type of drivers.

type1,2,3,4

29.how to collect requuirements form u r client.

is not a job of a technical person.It is better for a BA to do it.

30.which proceuse in ur project.

Generally u can say:

Project related process: Analysis, Design, Sign-off Documents, Implementation, Integration, Testing, UAT

Work related process:

Technical Design, Work Allocation, Code Review Checklist, Unit Test Form will be prepared by the Project Lead and given to the developer.

Developer prepares the Unit Test Case

Implements Code, Performs Test

Submits Code through CVS / VSS

Submits documents along with Release Checklist to the tester / leader.

31.what is deployment descriptor.

ans:Which contains the infrnmation like which file to be used

40.what is platfrom independent

ans:A language is said to be platform independent if it can be run on any machine with out modifying code

41.what is awt and swing.

ans:AWT are heavy weight components and swings are light weight components

46.what is major concepts in oops.

ans:Abstraction,polymorphism,encapsulation,inheritance

47.why u choose mvc-2 architecture.

ans:In MVC-2 controller is servlet rather than JSP which makes it efficient

48.what is implicit object.

ans:Implicit objects are a set of Java objects that the JSP Container makes available to developers in each page

49.how many implicit objects in jsp

ans:out,page,session,request,response,application,page context,config

1.触发器的作用?

答:触发器是一中特殊的存储过程,主要是通过事件来触发而被执行的。它可以强化约束,来维护数据的完整性和一致性,可以跟踪数据库内的操作从而不允许未经许可的更新和变化。可以联级运算。如,某表上的触发器上包含对另一个表的数据操作,而该操作又会导致该表触发器被触发。

2。什么是存储过程?用什么来调用?

答:存储过程是一个预编译的SQL语句,优点是允许模块化的设计,就是说只需创建一次,以后在该程序中就可以调用多次。如果某次操作需要执行多次SQL,使用存储过程比单纯SQL语句执行要快。可以用一个命令对象来调用存储过程。

3。索引的作用?和它的优点缺点是什么?

答:索引就一种特殊的查询表,数据库的搜索引擎可以利用它加速对数据的检索。它很类似与现实生活中书的目录,不需要查询整本书内容就可以找到想要的数据。索引可以是唯一的,创建索引允许指定单个列或者是多个列。缺点是它减慢了数据录入的速度,同时也增加了数据库的尺寸大校

3。什么是内存泄漏?

答:一般我们所说的内存泄漏指的是堆内存的泄漏。堆内存是程序从堆中为其分配的,大小任意的,使用完后要显示释放内存。当应用程序用关键字new等创建对象时,就从堆中为它分配一块内存,使用完后程序调用free或者delete释放该内存,否则就说该内存就不能被使用,我们就说该内存被泄漏了。

4。维护数据库的完整性和一致性,你喜欢用触发器还是自写业务逻辑?为什么?

答:我是这样做的,尽可能使用约束,如check,主键,外键,非空字段等来约束,这样做效率最高,也最方便。其次是使用触发器,这种方法可以保证,无论什么业务系统访问数据库都可以保证数据的完整新和一致性。最后考虑的是自写业务逻辑,但这样做麻烦,编程复杂,效率低下。

5。什么是事务?什么是锁?

答:事务就是被绑定在一起作为一个逻辑工作单元的SQL语句分组,如果任何一个语句操作失败那么整个操作就被失败,以后操作就会回滚到操作前状态,或者是上有个节点。为了确保要么执行,要么不执行,就可以使用事务。要将有组语句作为事务考虑,就需要通过ACID测试,即原子性,一致性,隔离性和持久性。

锁:在所以的DBMS中,锁是实现事务的关键,锁可以保证事务的完整性和并发性。与现实生活中锁一样,它可以使某些数据的拥有者,在某段时间内不能使用某些数据或数据结构。当然锁还分级别的。

6。什么叫视图?游标是什么?

答:视图是一种虚拟的表,具有和物理表相同的功能。可以对视图进行增,改,查,操作,试图通常是有一个表或者多个表的行或列的子集。对视图的修改不影响基本表。它使得我们获取数据更容易,相比多表

查询。

游标:是对查询出来的结果集作为一个单元来有效的处理。游标可以定在该单元中的特定行,从结果集的当前行检索一行或多行。可以对结果集当前行做修改。一般不使用游标,但是需要逐条处理数据的时候,游标显得十分重要。

7。为管理业务培训信息,建立3个表:

S(S#,SN,SD,SA)S#,SN,SD,SA分别代表学号,学员姓名,所属单位,学员年龄

C(C#,CN)C#,CN分别代表课程编号,课程名称

SC(S#,C#,G) S#,C#,G分别代表学号,所选的课程编号,学习成绩

(1)使用标准SQL嵌套语句查询选修课程名称为’税收基疮的学员学号和姓名?

答案:select s# ,sn from s where S# in(select S# from c,sc where c.c#=sc.c# and cn=’税收基疮)

(2) 使用标准SQL嵌套语句查询选修课程编号为’C2’的学员姓名和所属单位?

答:select sn,sd from s,sc where s.s#=sc.s# and sc.c#=’c2’

(3) 使用标准SQL嵌套语句查询不选修课程编号为’C5’的学员姓名和所属单位?

答:select sn,sd from s where s# not in(select s# from sc where c#=’c5’)

(4)查询选修了课程的学员人数

答:select 学员人数=count(distinct s#) from sc

(5) 查询选修课程超过5门的学员学号和所属单位?

答:select sn,sd from s where s# in(select s# from sc group by s# having count(distinct c#)>5)

回复帖子
标题:
内容:
相关话题
相关帖子推荐