KyaPoocha.com

Huge Collection of Interview Questions


‘EJB Interview Questions’ - KyaPoocha.com

Tell me about a problem you had with a supervisor 

Biggest trap of all. This is a test to see if you will speak ill of your boss. If you fall for it and tell about a problem with a former boss, you may well below... Read more »

When we will use an Interface and Abstract class 

nterfaces are used when we have to develop distributed applications or when we need to implement multiple inheritence. While abstract classes will be used when... Read more »

Can the abstract class be final 

An abstract class cannot be declared as final. This is because the abstract class has to be inherited by a subclass in order to implement the abstract methods.... Read more »

What is abstract method 

A abstract method are the methods that have no implementation of its self(i.e by superclass).they do not have body.so the subclass have to override them .  Read more »

what is abstract data type? 

Abstract data type logical cohesion of operands or variables along with set of operation which can be performed on it. In Java we have most of data types as abstract... Read more »

How do you know that where to use abstract class or interface? 

Basically it depends upon your convinence but what I have known when we consider version control, where a modification of many component depends upon many classes... Read more »

what is the differense between native and abstract? 

what is the differense between native and abstract? can we declare a method as native inside an interface?if yes then why? if no then why not? Native keyword is... Read more »

What are the different types of Storage classes? 

There are 5 kind of storage classes auto - : like int extern-: used by other class or programm static -: retain the value through out the executionof the programm register-:... Read more »

studied that “Abstract class means ,it doesn’t maintain the complete information about the particular class”. Is it right? Justify? 

I Abstract class must be extended/subclassed (to be useful). It serves as a template. A class that is abstract may not be instantiated (ie, you may not call its... Read more »

Meaning - Abstract classes, abstract methods 

the abstract class is nothing but the class which is having the method that too without body and begin with abstract keyword.a class which is incomplete is termd... Read more »

When we will use an Interface and Abstract class 

Interface: Code resuability Acheive multiple inheritence If u can add any method that does not effect the class Abstarction If u does not want instance of the class... Read more »

When to use Interface over abstract class? 

I want to know when to use interface over abstract class. One reason could be because you are extending another class. But it wont be known until some one implements... Read more »

Why CMP beans are abstract classes? 

We have to provide abstract data to object mapping that maps the fields in our bean to a batabase, and abstract methods methods that corelate these fields.  Read more »

Can we declare final method in abstract class ? 

ya But,you must provide implementation in same abstract class,as you cannot override that final method in sub class.  Read more »

Explain the different Transaction Attributes and Isolation Levels with reference to a scenario. 

The Enterprise JavaBeans model supports six different transaction rules: ยท TX_BEAN_MANAGED. The TX_BEAN_MANAGED setting indicates that the enterprise bean... Read more »

Page 1 of 1412345»...Last »