Interview Questions

Q:

What are the steps required to execute a query in JDBC?

Answer

First we need to create an instance of a JDBC driver or load JDBC drivers, then we need to register this driver with DriverManager class. Then we can open a connection. By using this connection , we can create a statement object and this object will help us to execute the query.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2105
Q:

Differentiate linked list from arrays.

Answer

Arrays can store data in a fix allotted space. The use of linked list allows more flexibility because space is dynamically allocated as needed.

Report Error

View answer Workspace Report Error Discuss

0 2103
Q:

In a class if private data member is declared then how to get value of that data member?

Answer

By using method.


The method used to get the data is called getter method.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2103
Q:

Explain how garbage collection manages the reclamation of unused memory?

Answer

The garbage collector assumes that all objects in the managed heap are garbage. It starts walking the roots and builds a graph of all objects reachable from the roots recursively. It stops when it attempts to add an object to the graph that it previously added. The graph contains the set of all objects that are reachable from the application's roots. Any object/s that is not in the graph is not accessible by the application, and is considered garbage. Collection only occurs when the heap is full. In such a case, each and every garbage object calls the Finalize method and reclaims the unused memory

Report Error

View answer Workspace Report Error Discuss

Subject: .NET
Job Role: Software Architect

0 2103
Q:

What interests you about the position offered?

Answer

A seemingly simple question that is often difficult to answer, it can result in a great interview going disastrously wrong.


Here "What interests you about the position offered?" is a problematic question for anyone, even the most prepared interview candidate. It is one of those questions that might decide between selected individuals who have the same qualifications and experience.


When asked "what about this job interests you", the interviewer wants to know why you decided to apply specifically for this job and why do you consider this position fitting you and your career plans.


The best bet is to take the most important element of the said job and talk about it.


For example if the job requires effective team work capabilities, you may construct your answer in this way:


Question: What is the 'thing' that interests you about this job?


Answer: One of the things that are of my best interests in this job is the opportunity to work in a team environment. I always wanted to work with hard-working, professional, experienced people. I love contributing the team effort, bringing out the best in myself and in my teammates for fulfilling our work goals and reaching top results.


I trust that I can perform great by applying sound principles of teamwork as I did in my previous jobs. I seek timely and consistent feedback designed to improve not only my performance as well but the team’s performance as well. I consult with people, try my best and treat everyone positively/equally.


 


Tips to follow while answering this question ::



1. Be Specific


2. Be Truthful


3. Be Real

Report Error

View answer Workspace Report Error Discuss

2 2100
Q:

What are the advantages of cloud architecture?

Answer

- Cloud architecture uses simple APIs to provide easily accessible services to the user through the internet medium. 


- It provides scale on demand feature to increase the industrial strength. 


- It provides the transparency between the machines so that users don’t have to worry about their data. Users can just perform the functionality without even knowing the complex logics implemented in cloud architecture.


- It provides highest optimization and utilization in the cloud platform

Report Error

View answer Workspace Report Error Discuss

Subject: Cloud Computing

0 2098
Q:

What is a delegate?

Answer

A delegate declares a ref type that references a named of anonymous method. Delegates are secure and type-safe. Consider them as type safe function pointers.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 2098
Q:

Whats the difference between a NSArray and a NSMutableArray?

Answer

A NSArray’s contents can not be modified once it’s been created whereas a NSMutableArray can be modified as needed, i.e items can be added/removed from it.

Report Error

View answer Workspace Report Error Discuss

0 2097