KyaPoocha.com

Huge Collection of Interview Questions


Archive for November, 2006

Is struts threadsafe? 

Struts is not only thread-safe but also thread-dependent. Rather than an individual servlet, the response to a request is handled by a light-weight Action object.... Read more »

Why cant we overide create method in Stateless Session Bean? 

According to the EJBs specifications “A Session bean’s home interface defines one or morecreate() methods. Each create method must be named create and... Read more »

What is MVC Architecture? 

MVC stands for Model(bean, EJB), View(Html, Jsp), Controller(Servlet). MVC pattern is a collaboration of three components model, view, controller. Model is backend... Read more »

What are different types of Transaction Isolation Levels? 

The isolation level describes the degree to which the data being updated is visible to other transactions. This is important when two transactions are trying to... Read more »

What are the two important TCP Socket classes? 

Socket and ServerSocket. ServerSocket is used for normal two-way socket communication. Socket class allows us to read and write through the sockets. getInputStream()... Read more »

What technologies are included in J2EE? 

The main technologies in J2EE are: Enterprise JavaBeansTM (EJBsTM), JavaServer PagesTM (JSPsTM), Java Servlets, the Java Naming and Directory InterfaceTM (JNDITM),... Read more »

What do you mean by multiple inheritance in C++ ? 

Multiple inheritance is a feature in C++ by which one class can be of different types. Say class teachingAssistant is inherited from two classes say teacher and... Read more »

What do you mean by virtual methods? 

Virtual Methods are used to use the polymorphisms feature in C++. Say class A is inherited from class B. If we declare say function f() as virtual in class B and... Read more »

What do you mean by static methods? 

By using the static method there is no need creating an object of that class to use that method. We can directly call that method on that class. For example, say... Read more »

What are the advantages of OOPL? 

Object oriented programming languages directly represent the real life objects. The features of OOPL as inhreitance, polymorphism, encapsulation makes it powerful.  Read more »

Difference between Smoke Testing and Sanity Testing? 

Smoke Testing is non-exhaustive software testing, ascertaining that the most crucial functions of a program work, but not bothering with finer details. Sanity Testing... Read more »

How do you get the value of a combo box in Javascript? 

To get value of Combo Box use document.form_name.element_name.value  Read more »

How do you create a recordset object in VBScript? 

First of all declare a variable to hold the Recordset object, ex- Dim objRs Now, Create this varible as a Recordset object, ex- Set objRs=Server.CreateObject(ADODB.RECORDSET)... Read more »

What is the difference between QC and QA? 

Quality assurance is the process where the documents for the product to be tested is verified with actual requirements of the customers. It includes inspection,... Read more »

What is a scenario? 

A scenario defines the events that occur during each testing session. For example, a scenario defines and controls the number of users to emulate, the actions to... Read more »

Page 1 of 512345»