Interview Questions

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 1957
Q:

What is the similarity between Dynamic Binding and linking?

Answer

Dynamic binding is orthogonal to dynamic linking. Binding refers to the linking of a procedure call to the code to be executed in response to the call. Dynamic binding It is associated with polymorphism and inheritance, it(also known as late binding) means that the code associated with a given procedure call is not known until the time of the call at run-time.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1956
Q:

Give the sequence of execution of the various report triggers?

Answer

Before form , After form , Before report, Between page, After report.

Report Error

View answer Workspace Report Error Discuss

3 1956
Q:

What is session storage and how can you create one?

Answer

Session storage is same like local storage but the data is valid for a session. In simple words the data is deleted as soon as you close the browser.


To create a session storage you need to use “sessionStorage.variablename” . In the below code we have a created a variable called as “clickcount”.


If you refresh the browser the count increases. But if you close the browser and start again the “clickcount” variable starts from zero.


if(sessionStorage.clickcount)


{


sessionStorage.clickcount=Number(sessionStorage.clickcount)+1;


}


else


{


sessionStorage.clickcount = 0;


Report Error

View answer Workspace Report Error Discuss

1 1955
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 1955
Q:

Explain in your words about Channel of communication, Skipper and Sundry Services.

Answer

Channel of communication : It is a floe of communication within a department.


Skipper : This term is used for the status of a room, which indicates that a guest has left the hotel room without arranging to settle his or her account. 


Sundry Services :These are the extra services, which are provided to the guests. For e.g. message, handling of guests.

Report Error

View answer Workspace Report Error Discuss

Subject: Hospitality

3 1954
Q:

How Adaptable Are You to Change?

Answer

Example:


“I have no problems with change. I am sure in my ability to regulate my actions of behaviors as needed, and take up myself adaptable to all situations – not just change.”

Report Error

View answer Workspace Report Error Discuss

Subject: Adaptability

3 1953
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 1953