IBM Interview Questions in Bangalore

Br />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

Questions by rajjava   answers by rajjava

Showing Answers 1 - 20 of 20 Answers

Jyothi

  • May 23rd, 2006
 

Answer:

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


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
.
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.

ans:It follows MVC architecture which is used for seperating view,controller,model

24.what is main difference between jsp and servlets.

ans:Jsp s are mainly used for dynamic presenatations where we can write code of design and actual content seperately.mainly coding becomes feasible


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


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

  Was this answer useful?  Yes

debabrata sau

  • Jun 6th, 2006
 

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

  Was this answer useful?  Yes

parimmallarekha

  • Jun 24th, 2006
 

I am answering  to only core java quesitions

please tell me about oops

object oriented programme java is oops ,bec it satisfies all the three oops concepts that are 1.inheritance 2.polymorphisn 3.encasulation

1.inheritance: acquiring the properties and functionalities of super class to subclass here in java acheived by the keyward extends

2.polymorphism : single object many funtions injava method overloading overriding through inheritance overraiding through interfaces are  satisfying this concept

3.encapsulation : binding the data with the code through some access specifier private int i=10;

here private-access specifier data =10 code int

parimmallarekha

  • Jun 24th, 2006
 

what is single inheritance

java supports only single inheritance that is acquring properties and funtionalities of super class to subclass that is only one superclass

parimmallarekha

  • Jun 24th, 2006
 

what is multiple inheritance

acquiring properties and funtionalites from many classes to single class java does not support multiple inheritance

can java support multiple inheritance

no,by using interfaces we can reduce the restrictions in multiple inheritance

what is interface

promice made by object

  Was this answer useful?  Yes

parimmallarekha

  • Jun 24th, 2006
 

what is differenec between abstract class and interface

 interface is an abstract means declarations are in one class and their implementations are in some othe class

abstract class is  a partially implemented class

a class can extend only one super class

but a class implements more than one interface

the variables in interface are static and final

in abstract class variables are non static

  Was this answer useful?  Yes

karthickvg

  • Jul 19th, 2006
 

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

  Was this answer useful?  Yes

karthickvg

  • Jul 19th, 2006
 

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

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.

28.what is type 4 driver.

Type 4: Native-protocol/all-Java driver
Level 4 drivers are completely implemented in Java to achieve platform independence and eliminate deployment administration issues.

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.

  Was this answer useful?  Yes

jayanandan

  • Jan 22nd, 2008
 

how do u prove that abstrace class cannot instantiate directly?
    ofcourse abstract class can have constructor,but the keyword "abstract" denotes that the class or method is not yet constructed fully.So if we use abstract keyword it is not possible to instantiate the class.

  Was this answer useful?  Yes

sujain

  • Aug 17th, 2010
 

5. About OOPS: Object Oriented Programming is based on three major concepts: Inheritance, Polymorphism and Encapsulation
Inheritance: Through inheritance the base class properties are acquired in subclass. In java we inherit a class using "extends" keyword. This allows for code reuse. Jave supports single class inheritance thru classes and multiple inheritance thru interfaces.

Polymorphism
: This term means "many forms". Like this can be achieved thru operator overloading. For example "+" used with String concatenates two Strings but when used with two int adds up as result. Similarly we have method overloading & overriding concepts in support for this.
Encapsulation: This concept basically helps hiding data from external world. It acts as a wrapper. For example: A class acts as a wrapper thereby enclosing the access to variables , methods as per modifiers assigned to it.

6.
What is single inheritance:
One class extending a single parent class is single Inheritance


7. What is multiple inheritance: One class extending more than one parent class is multiple Inheritance.


8. Can Java support multiple inheritance: Yes, through Interfaces.


9. What is Interface: Interface is a wrapper containing methods with empty bodies. Any concrete class implementing interface must have all its methods defined. 10.what is difference between abstract class and interface: An abstract class can have bodies with methods or partial methods can have no implementation but for an interface all methods must only be declared and not implemented.


  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions