JAVA英语面试题(苦涩的记忆)

(2010-01-30 14:59:02)

标签:

杂谈

java 英语面试题

2008-11-13 11:051.Tell me a little about yourself?

I am holding a master degress in software science and had 2-year

work experience in software development. I have used J2EE

technology for 2 years,including Jsp,servlet,javabean,XML,EJB,I

also used C language for half year and IBM mainframe technology

half year.And the projects I participated in follow the Waterfall

model lifecycle starting from design,then coding

,testing,maintenance.

2.Describe a situation where you had to work under pressure,and

explain how you handle it.

Once when we did a mainframe project,our customer wanted to see a

demo from our team before they signed the contract with our

company.It is urgent,because our customer didn't give us enough

time to do it. So all my team menbers had to work overtime,but we

finished it punctually and perfectly . Our customer was satisfied

with it.Actually,It is common to meet some deadlines or work under

pressure in IT field.I am ok with it.

3.What would your last employer tell me about your work

performance?

I am sure my last employer will praise my work performance,because

he was reluctant to let me go when I told him I want to quit and

study abroad,and he said I am welcome to come back when I finish

study.

4.What is your major weakness?

I always want everything to be perfect.Sometimes,I am

over-sensitive. When a design pattern or technical solution comes

up during a meeting discussion,I am always the first one to test

the feasibility.Some leader don't like such person because

sometimes it is embarrassing when I prove it doesn't work while the

leader still believe it is a perfect solution,But I think I did

nothing wrong about it,it is good for the company.

5.Why did you leave your last job?

Although I did well in the last company,I always feel the

theoretical study and actual practice are equally important and

depend on each other.So,I decide to further study and actual

practice are equally important and dependent on each other.So,I

decide to further study to extend my theory in computer

science.

6.What are your strengths?

What I am superior to others I believe is strong interest in

software development I have.Many friends of mine working in IT

field are holding bachelor degree or master degree and have worked

for several years,but they don't have much interest in it,they only

treat what they do everything a job,a means to survive,they don't

have career plan at all. I am different. I like writing programs.I

have set up my career goal long time ago.I will do my best to make

it possible in the future.And I have worked hard towards this goal

for several years.

7.What are your future career plans?

I would like to be a software engineer now.but my career goal is to

be an excellent software architector in the future.I like writing

programs. Software is a kind of art, although sometimes it drove me

crazy,after I overcame the difficulties I feel I am useful,I will

keep working in IT field.

8.What are your salary expectations?

I believe your company will set up reasonable salary for me

according to my ability,so I don't worry about it at all.

Between 7000 to 8000 monthly

9. Why are you interested in this position?

Your company specializes in providing technical solutions to

customers and the last company I worked in also specializes in this

field. I have relevant skills and experiences meeting your

requirement.

I am sure I can do it well.

10.Do you have any questions that you would like to ask me?

What is a typical workday like and what would I do?

What is your expectation for me in this job?

11.What J2EE design patterns have you used before?

Command/Session Facade/Service Locator/Data Access Object/Business

Delegate

* Q1. How could Java classes direct program messages to the system

console, but error messages, say to a file?.

The class System has a variable out that represents the standard

output, and the variable err that represents the standard error

device. By default, they both point at the system console. This how

the standard output could be re-directed:

Stream st = new Stream(new FileOutputStream("output.txt"));

System.setErr(st); System.setOut(st);

* Q2. What's the difference between an interface and an abstract

class?

A. An abstract class may contain code in method bodies, which is

not allowed in an interface. With abstract classes, you have to

inherit your class from it and Java does not allow multiple

inheritance. On the other hand, you can implement multiple

interfaces in your class.

* Q3. Why would you use a synchronized block vs. synchronized

method?

A. Synchronized blocks place locks for shorter periods than

synchronized methods.

* Q4. Explain the usage of the keyword transient?

A. This keyword indicates that the value of this member variable

does not have to be serialized with the object. When the class will

be de-serialized, this variable will be initialized with a default

value of its data type (i.e. zero for integers).

* Q5. How can you force garbage collection?

A. You can't force GC, but could request it by calling System.gc().

JVM does not guarantee that GC will be started immediately.

* Q6. How do you know if an explicit object casting is

needed?

A. If you assign a superclass object to a variable of a subclass's

data type, you need to do explicit casting. For example:

Object a; Customer b; b = (Customer) a;

When you assign a subclass to a variable having a supeclass type,

the casting is performed automatically.

* Q7. What's the difference between the methods sleep() and

wait()

A. The code sleep(1000); puts thread aside for exactly one second.

The code wait(1000), causes a wait of up to one second. A thread

could stop waiting earlier if it receives the notify() or

notifyAll() call. The method wait() is defined in the class Object

and the method sleep() is defined in the class Thread.

* Q8. Can you write a Java class that could be used both as an

applet as well as an application?

A. Yes. Add a main() method to the applet.

* Q9. What's the difference between constructors and other

methods?

A. Constructors must have the same name as the class and can not

return a value. They are only called once while regular methods

could be called many times.

* Q10. Can you call one constructor from another if a class has

multiple constructors

A. Yes. Use this() syntax.

* Q11. Explain the usage of Java packages.

A. This is a way to organize files when a project consists of

multiple modules. It also helps resolve naming conflicts when

different packages have classes with the same names. Packages

access level also allows you to protect data from being used by the

non-authorized classes.

* Q12. If a class is located in a package, what do you need to

change in the OS environment to be able to use it?

A. You need to add a directory or a jar file that contains the

package directories to the CLASSPATH environment variable. Let's

say a class Employee belongs to a package com.xyz.hr; and is

located in the file c:\dev\com\xyz\hr\Employee.java. In this case,

you'd need to add c:\dev to the variable CLASSPATH. If this class

contains the method main(), you could test it from a command prompt

window as follows:

c:\>java com.xyz.hr.Employee

* Q13. What's the difference between J2SDK 1.5 and J2SDK 5.0?

A.There's no difference, Sun Microsystems just re-branded this

version.

* Q14. What would you use to compare two String variables - the

operator == or the method equals()?

A. I'd use the method equals() to compare the values of the Strings

and the == to check if two variables point at the same instance of

a String object.

* Q15. Does it matter in what order catch statements for

FileNotFoundException and IOExceptipon are written?

A. Yes, it does. The FileNoFoundException is inherited from the

IOException. Exception's subclasses have to be caught first.

--------------------------------------------------------------------------------------------------------------------------------

1.what is oracle.

2.what is major differenece oracle8i and oracle9i.

4.tell 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 class and interface.

11.how to u prove that abstrace class cannot 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 process use 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 class is inherited by only other one class

7.what is multiple inheritance.

ans:One class inheriting more than one class at 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 class and interface.

ans:In abstract class some methods may contain definition,but in

interface every method should be abstract

11.how to u prove that abstrace class cannot 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

for (var j=i+1;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 utilized. Complexity 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 process use 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

分享:

喜欢

0

赠金笔

加载中,请稍候......

评论加载中,请稍候...

发评论

登录名: 密码: 找回密码 注册记住登录状态

昵   称:

评论并转载此博文

发评论

以上网友发言只代表其个人观点,不代表新浪网的观点或立场。

java需要记住什么英文_JAVA英语面试题(苦涩的记忆)相关推荐

  1. java array 元素的位置_Java常见面试题 非常实用「个人经验」

    Java 容器都有哪些 Collection 的子类 List.Set List 的子类 ArrayList.LinkedList等 Set 的子类 HashSet.TreeSet等 Map 的子类 ...

  2. java要记住的单词_java 初学 英语单词 记录在此 希望全部记住

    Java英文单词Java基础常见英语词汇(共70个) OO: object-oriented ,面向对象OOP:object-oriented programming,面向对象编程Author:JCC ...

  3. java什么变量用作英文_Java基础之变量-什么是变量

    什么是变量: 在计算机语言中用来存储计算结果或表示值 如何命名Java变量: 如同酒店会给每个房间起个性化的名字一样,程序中的变量也需要用合理的名字进行管理-变量名! 变量命名要符合以下规则: 首字母 ...

  4. java 数字翻译成英文_Java实现将数字日期翻译成英文单词的工具类实例

    本文实例讲述了Java实现将数字日期翻译成英文单词的工具类.分享给大家供大家参考,具体如下: package com.sunyard.etp.ag.util; import java.math.Big ...

  5. java+分割+汉字和英文_Java分割中英文,并且中文不能分割一半?

    最近准备入其他坑位.在面试过程中,遇到下面这题笔试题,拿出来分享分享. 题目:编写一个截取字符串的函数,输入为一个字符串和字节数,输出为按字节截取的字符串.但是要保证汉字不被截半个,如"我A ...

  6. java 数字翻译成英文_Java实现数字日期翻译成英文单词的工具类案例分享

    这篇文章主要介绍了Java实现将数字日期翻译成英文单词的工具类,结合完整实例形式分析了Java日期转换与字符串操作相关实现技巧,需要的朋友可以参考下 本文实例讲述了Java实现将数字日期翻译成英文单词 ...

  7. java 数字翻译成英文_java 英文翻译成数字

    展开全部 import java.io.IOException; import java.io.InputStream; import java.io.PrintStream; import java ...

  8. java蓝桥杯的题_Java蓝桥杯试题集——算法训练ALGO-116——最大的算式

    题目要求 解题思路 动态规划,今天才弄明白QAQ,借鉴了这位大佬的博客,曹磊的博客 写的很好!但是我觉得我的循环方式更容易理解嘿嘿嘿~ 首先建立如下图的数组,行数代表前几位数,列数代表有几个乘号.将第 ...

  9. java的隐式对象_java常见面试题:隐式对象有哪些?

    关于java的知识点是非常的多的,这也是学习java的难点所在.今天来为大家分享一些java常见面试题,一起来了解一下吧. 1.java中9大隐式对象有哪些?如下图所示: 2.数据库里面的索引和约束是 ...

最新文章

  1. eplise怎么连接数据库_基于手机信令的大数据分析教程(一)数据导入数据库
  2. left join on in
  3. 一击进榜!达摩院十年“扫地僧”,揭秘阿里云数据仓库逆袭之旅
  4. join和group by能一块用吗_冷冻一下地球能缓解温室效应吗?| No.171
  5. netbeans连接数据库_NetBeans Java EE技巧3:数据库中的RESTful Web服务
  6. div模拟select/option解决兼容性问题及增加可拓展性
  7. centos7配置Docker镜像加速器
  8. 浅谈“三层结构”原理与用意(转帖)
  9. win7·64bit+VS2013+opencv的简单配置
  10. 【ECJTU_ACM 11级队员2012年暑假训练赛(8) - F - A Mame】
  11. python常用代码总结-python常用代码
  12. 【C++】指针与引用的区别
  13. HDU2066--一个人的旅行(Dijkstra)
  14. gdiplus画直线
  15. lisp弧度转度分秒_用C语言实现度分秒与弧度的转化
  16. Python3 文档批量助手
  17. 求解逆矩阵的常用三种方法
  18. cs1.5最新服务器地址,CS1.5服务器地址,不定期更新
  19. decimals数据格式化
  20. 43. 盘点那些必问的数据结构算法题之二叉树基础

热门文章

  1. win7有杂音----彻底解决
  2. 中国元宇宙+赋能实体经济峰会暨中国民协元宇宙工委会员发布仪式
  3. FL中隐私和安全性问题
  4. Calculator Conundrum UVA - 11549(floyd判圈)
  5. 奔奔AI文章伪原创生成软件【SEO必备工具】
  6. js调取百度地图,展示公司位置
  7. AC---上网行为管理
  8. 一体化大威海的战略抉择
  9. 生成自定义时长的静音音频 | Java工具类
  10. 十三款著名跨平台游戏引擎(原文翻译部分转自游侠网)