[20111123] IBM Java英文面试题-附参考答案

来源:互联网 发布:4g网络哪家好 2016 编辑:程序博客网 时间:2024/06/05 19:30

1.what is oracle.

2.what is major differenece oracle8i and oracle9i.

4.tell me some thing urself.

5.please tell me about oops.
ans:
1. Oracle is an RDBMS product with DDL and DML from a company called OracleInc.
  2. Difference between 8i and 9i is given inthe 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 oneclass
  7.what is multiple inheritance.
  ans:One class inheriting more than one classat atime
  8.can java support multiple inheritance.
  ans:No
  9.what is interface.
  ans:Interface has only method declarationsbut no defn
  10.what is differenec between abstract classand interface.
  ans:In abstract class some methods maycontain 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 cantbe instantiated
  12.what is differenece between string andstringbuffer.
  ans:Strings are immutable where as stringbuffer 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 unsortprogram.
  ans: Both can be done using javascript
  This is for Sort
  function SelectTextSort(obj) { // sort bytext
  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 termsof technology/ system
  19.what is main difference hashmap andhastable
  ans:Hash table is synchronised
  20.what is main difference between arraylistand vector.
  ans:Vector is synchronised 21.what is strutsframework.
  22.what are distributed techonologies.
  distributed technologies means any technology/ s/w program that are having many components in multiple environments thatinteract with each other depending on the functional requirements and design.
  23.what is advantage and disadvantage ofdistributed techonologies.
  language is avoided. Application can be builtflexible to meet requirements. Division of labour is possible. Best of all thetechnologies and platforms can be optimally utilized. Complexity ofrequirements can be reduced.
24.what is main difference between jsp and servlets.
25.what is difference between procedure and functions.''
ans:Fuctions can return value ,procedures cant return value   26.what is jdbc.
  27.what are type of drivers.
  28.what is type 4 driver.
  29.how to collect requuirements form u rclient.
  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 urproject.
  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 linuxand 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 anyapplicationserver.
  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  26.what is jdbc.  ans:Connectingto DB from java program requires JDBC
27.what are type of drivers.
  type1,2,3,4
  29.how to collect requuirements form u rclient.
  is not a job of a technical person. It isbetter 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, CodeReview Checklist, Unit Test Form will be prepared by the Project Lead and givento the developer.
  Developer prepares the Unit Test Case
  Implements Code, Performs Test
  Submits Code through CVS / VSS
  Submits documents along with ReleaseChecklist to the tester / leader.
  31.what is deployment descriptor.
  ans:Which contains the infrnmation like whichfile to be used
  40.what is platfrom independent
  ans:A language is said to be platformindependent if it can be run on any machine with out modifying code
  41.what is awt and swing.
  ans:AWT are heavy weight components andswings 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 ratherthan JSP which makes it efficient
  48.what is implicit object.
  ans:Implicit objects are a set of Javaobjects 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,pagecontext,config