Interview Questions

Q:

What are the basic concepts of object oriented programming?

Answer

It is necessary to understand some of the concepts used extensively in object oriented programming.These include


Objects
Classes
Data abstraction and encapsulation
Inheritance
Polymorphism
Dynamic Binding
Message passing

Report Error

View answer Workspace Report Error Discuss

Subject: C++

0 2657
Q:

Difference between Java Beans & Servlets?

Answer

java bean is a reusable component, where as the servlet is the java program which extends the server capability. 

Report Error

View answer Workspace Report Error Discuss

Subject: Java

2 2647
Q:

What is the difference between creating String as new() and literal ?

Answer

When we create string with new() Operator, it’s created in heap and not added into string pool while String created using literal are created in String pool itself which exists in PermGen area of heap.



String s = new String("Test");

does not put the object in String pool , we need to call String.intern() method which is used to put them into String pool explicitly. its only when you create String object as String literal e.g. String s = "Test" Java automatically put that into String pool.

Report Error

View answer Workspace Report Error Discuss

1 2642
Q:

What is Exploratory Testing and Specification-Driven testing?

Answer

Exploratory testing: means testing an application without a test plan and test script. In exploring testing test explore the application on the basis on his knowledge. The tester has no knowledge about the application previously. He explores the application like an end user and try to use it. While using the application his main motive is to find the bugs which are in the application.


Specification-driven testing: means to test the functionality of software according to the user requirements. In this, tester inputs multiple data and monitors the outputs from, the test object. In this testing tester evaluate the showstopper bugs which break the major functionality of the application. This type of testing requires test plan and test.

Report Error

View answer Workspace Report Error Discuss

Subject: QA Testing

0 2641
Q:

What are the ways of preserving data on a Web Form in ASP.NET?

Answer

These objects provide two levels of scope:


Application State


Data stored in the application object can be shared by all the sessions of the application.


Application object stores data in the key value pair.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET
Job Role: Software Architect

0 2641
Q:

What is the difference between TCP and UDP?

Answer

TCP-Transmission Control Protocol


UDP- user Datagram protocol


UDP is user assisted program and converts the application into the encapsulated form and makes it end point for data to send and then TCP helps in transmission or broadcast!

Report Error

View answer Workspace Report Error Discuss

0 2640
Q:

The interest-rate effect suggests that

A) an increase in the price level will increase the demand for money, reduce interest rates, and decrease consumption and investment spending B) an increase in the price level will increase the demand for money, increase interest rates, and decrease consumption and investment spending
C) a decrease in the supply of money will increase interest rates and reduce interest-sensitive consumption and investment spending D) an increase in the price level will decrease the demand for money, reduce interest rates, and increase consumption and investment spending
 
Answer & Explanation Answer: B) an increase in the price level will increase the demand for money, increase interest rates, and decrease consumption and investment spending

Explanation:

The interest-rate effect suggests that an increase in the price level will increase the demand for money, increase interest rates, and decrease consumption and investment spending.

Report Error

View Answer Report Error Discuss

Filed Under: Bank Interview
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

0 2639
Q:

When is the onStop() method invoked?

Answer

A call to onStop method happens when an activity is no longer visible to the user, either because another activity has taken over or if in front of that activity.

Report Error

View answer Workspace Report Error Discuss

0 2638