Interview Questions

Q:

How can you prevent a class from overriding in C# and Visual Basic?

Answer

You can prevent a class from overriding in C# by using the sealed keyword; whereas, the NotInheritable keyword is used to prevent a class from overriding in Visual Basic.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 2085
Q:

Are arrays primitive data types?

Answer In Java, Arrays are objects.
Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2082
Q:

What is a Product Roadmap?

Answer

A Product Roadmap is a plan that matches short-term and long-term business goals with specific technology solutions to help meet those goals. It is a high-level visual summary that maps out the vision and direction of your product offering over time.


1. A product roadmap communicates the why and what behind what you're building.


2. It's a guiding strategic document as well as a plan for executing the strategy.


3. Roadmapping is the exercise of building a product roadmap. Roadmaps can apply to new products or services or existing offerings.

Report Error

View answer Workspace Report Error Discuss

4 2081
Q:

Describe a situation in which you had to arrive at a compromise or guide others to a compromise ?

Answer

This question is designed to see how well you can mediate a situation and handle conflict. You want to come across as someone who can compromise when necessary. An interviewer wants to see that you can not only reach an outcome that is desirable for both sides of a conflict of interest, but also that you can understand where the other person is coming from. Empathy and understanding go a long way in any job and this is a good opportunity to show that you can put yourself in another’s shoes.

Report Error

View answer Workspace Report Error Discuss

2 2081
Q:

What are the tasks of a Business Analyst in Software Development Life Cycle?

Answer

Generally a business analyst covers several stages in Software Development Life Cycle.


Like:  Client Consulting, Client Requirement Study, Planning for business needs, Business Requirement Documenting, Work on functional requirement, Prepare test data with inputs from end users, Document use case scenarios, Help Testing team with test plan and testing, Help end users with user acceptance testing UAT, Go live and post production support tasks.

Report Error

View answer Workspace Report Error Discuss

5 2081
Q:

What is the purpose of garbage collection in Java, and when is it used ?

Answer

The purpose of garbage collection is to identify and discard objects that are no longer needed by a program so that their resources can be reclaimed and reused. A Java object is subject to garbage collection when it becomes unreachable to the program in which it is used.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2079
Q:

Why interface data is final?

Answer

bcoz interface does not contains any initializers and constructors to initialize its data members.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2077
Q:

What are the different JDBC drivers available ?

Answer

There are mainly four type of JDBC drivers available. They are:

Type 1 : JDBC-ODBC Bridge Driver - A JDBC-ODBC bridge provides JDBC API access via one or more ODBC drivers. Note that some ODBC native code and in many cases native database client code must be loaded on each client machine that uses this type of driver. Hence, this kind of driver is generally most appropriate when automatic installation and downloading of a Java technology application is not important. For information on the JDBC-ODBC bridge driver provided by Sun.

Type 2: Native API Partly Java Driver- A native-API partly Java technology-enabled driver converts JDBC calls into calls on the client API for Oracle, Sybase, Informix, DB2, or other DBMS. Note that, like the bridge driver, this style of driver requires that some binary code be loaded on each client machine.

Type 3: Network protocol Driver- A net-protocol fully Java technology-enabled driver translates JDBC API calls into a DBMS-independent net protocol which is then translated to a DBMS protocol by a server. This net server middleware is able to connect all of its Java technology-based clients to many different databases. The specific protocol used depends on the vendor. In general, this is the most flexible JDBC API alternative. It is likely that all vendors of this solution will provide products suitable for Intranet use. In order for these products to also support Internet access they must handle the additional requirements for security, access through firewalls, etc., that the Web imposes. Several vendors are adding JDBC technology-based drivers to their existing database middleware products.

Type 4: JDBC Net pure Java Driver - A native-protocol fully Java technology-enabled driver converts JDBC technology calls into the network protocol used by DBMSs directly. This allows a direct call from the client machine to the DBMS server and is a practical solution for Intranet access. Since many of these protocols are proprietary the database vendors themselves will be the primary source for this style of driver. Several database vendors have these in progress.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2074