Interview Questions

Q:

What are wrapped classes ?

Answer

Wrapped classes are classes that allow primitive types to be accessed as objects.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1764
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 1761
Q:

AND, OR and NOT are examples of

A) Clauses B) Boolean operators
C) Conjuctive operators D) Exclusive operators
 
Answer & Explanation Answer: B) Boolean operators

Explanation:
Report Error

View Answer Report Error Discuss

1 1759
Q:

What does Customer Satisfaction mean to you?

Answer

Customer Satisfaction means, dealing with the customer in a proper or positive way. Every individual mindset is  different so their cause and satisfactory leave also changed. So the main challenge of a worker of a call center is to make them understand that they are also concerned about their trouble.

Report Error

View answer Workspace Report Error Discuss

Subject: Call Center

3 1757
Q:

How can your application perform actions that are provided by other application e.g. sending email?

Answer

Intents are created to define an action that we want to perform and the launches the appropriate activity from another application.


Code


        Intent intent = new Intent(Intent.ACTION_SEND);


        intent.putExtra(Intent.EXTRA_EMAIL, recipientArray);


        startActivity(intent);

Report Error

View answer Workspace Report Error Discuss

0 1749
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 1748
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 1746
Q:

How to call a constructor in java?

Answer

Constructor chaining is the process of calling one constructor from another constructor with respect to current object.





Within same class: It can be done using this() keyword for constructors in same class


From base class: by using super() keyword to call constructor from the base class.

Report Error

View answer Workspace Report Error Discuss

1 1745