Interview Questions

Q:

When do you override hashcode and equals() ?

Answer

HashCode method return int value. So the Hash value is the int value returned by the hash function .


If you want to do equality check or want to use your object as key in HashMap, we must override hashcode and equals() method.

Report Error

View answer Workspace Report Error Discuss

Subject: Java
Job Role: Analyst , IT Trainer

5 3371
Q:

What is the purpose of UIWindow object?

Answer

The presentation of one or more views on a screen is coordinated by UIWindow object..

Report Error

View answer Workspace Report Error Discuss

Subject: IOS

7 3370
Q:

What is the fastest type of JDBC driver ?

Answer

Type 4  (JDBC Net pure Java Driver) is the fastest JDBC driver.  Type 1 and Type 3 drivers will be slower than Type 2 drivers (the database calls are make at least three translations versus two), and Type 4 drivers are the fastest (only one translation).

Report Error

View answer Workspace Report Error Discuss

Subject: Java

1 3368
Q:

What is an OLTP system and OLAP system?

Answer

OLTP stands for OnLine Transaction Processing. Applications that supports and manges transactions which involve high volumes of data are supported by OLTP system. OLTP is based on client-server architecture and supports transactions across networks.


OLAP stands for OnLine Analytical Processing. Business data analysis and complex calculations on low volumes of data are performed by OLAP. An insight of data coming from various resources can be gained by a user with the support of OLAP.

Report Error

View answer Workspace Report Error Discuss

0 3366
Q:

What Is a Session in PHP?

Answer

A PHP Session persist the user information to be used later. For example, user name, password, shopping item details. The session is temporary and will be removed soon after the user has left the web site. The session can be persisted for long term usage on databases like MySQL. Each session is identified by a unique Id number for every visitor. The first step to use PHP session is to start the session. The starting session must precede the operations like HTML or the other.


The statement session_start() starts the PHP session and registers the user’s information on the server.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 3365
Q:

What is Inbound and outbound marketing?

Answer

Inbound Marketing :


     Inbound marketing refers to marketing activities that bring visitors in, rather than marketers having to go out to get prospect's attention.


1. Communication is interactive and two-way.


2. Customers come to you via search engines, refferals and social media


3. Marketers provide value


4. Marketers seek to entertain and/or educate


5. It is a cheaper way of marketing


6. It is the new trend in marketing


7. People are more in control of what information they receive and how


 


Outbound Marketing


    In Outbound marketing the company contacts the customer through a message. It uses offline methods such as trade shows, mails to customers and calling customers.


1. Communication is one-way.


2. Customers are sought out via print, TV, radio, banner advertising and cold calls.


3. Marketers Provide little to no added value.


4. Marketers rarely seek to entertain or educate.


5. It is expensive compared to inbound marketing


6. It is one of the traditional methods of marketing.


7. In outbound marketing company is in control.

Report Error

View answer Workspace Report Error Discuss

0 3361
Q:

What is factory method in AngularJS ?

A) It generates the facts and figures B) It is used to create the service
C) It is used to calculate the factorial of a number D) All the above
 
Answer & Explanation Answer: B) It is used to create the service

Explanation:

In general, Services are Javscript functions and are responsible to do a specific tasks. Factories implements module pattern in which we use a factory method to generate an object which is use for building models.

It's syntax is
module.factory('factoryName', function);

Report Error

View Answer Report Error Discuss

Filed Under: Web Technology
Job Role: Analyst , Software Architect

1 3350
Q:

What is the difference between int and int32 ?

Answer

There is no difference between int and int32. System. Int is an alias name for System.Int32 which is a .Net Class.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET
Job Role: Analyst , IT Trainer

1 3347