Interview Questions

Q:

X implements Y extends Z

A) X can be class Y,Z are interfaces B) X is an interface Y,Z are classes
C) X,Y are classes Z is an interface D) Complilation error
 
Answer & Explanation Answer: D) Complilation error

Explanation:

It is a compilation error it should be X extends Y implements Z

Report Error

View Answer Report Error Discuss

Filed Under: Java
Job Role: IT Trainer

3 5764
Q:

What’s the difference between Enumeration and Iterator interfaces ?

Answer

Enumeration is twice as fast as compared to an Iterator and uses very less memory. However, the Iterator is much safer compared to Enumeration, because other threads are not able to modify the collection object that is currently traversed by the iterator. Also, Iteratorsallow the caller to remove elements from the underlying collection, something which is not possible with Enumerations.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 5748
Q:

What is the purpose of cluster analysis in Data Warehousing?

Answer

Cluster analysis is used to define the object without giving the class label. It analyzes all the data that is present in the data warehouse and compare the cluster with the cluster that is already running. It performs the task of assigning some set of objects into the groups are also known as clusters. It is used to perform the data mining job using the technique like statistical data analysis. It includes all the information and knowledge around many fields like machine learning, pattern recognition, image analysis and bio-informatics. Cluster analysis performs the iterative process of knowledge discovery and includes trials and failures. It is used with the pre-processing and other parameters as a result to achieve the properties that are desired to be used.

Report Error

View answer Workspace Report Error Discuss

2 5746
Q:

What is Evaluated Receipt Settlement?

Answer

ERS is a business process between trading partners that conduct commerce without invoices. In an ERS transaction the supplier ships goods based upon an Advance Shipping Notice (ASN) and the purchaser upon receipt confirms the existence of a corresponding purchase order or contract verifies the identity and quantity of the goods and then pays the supplier.

Report Error

View answer Workspace Report Error Discuss

5 5744
Q:

What are the different implementations of LINQ?

Answer

The different implementations of LINQ are:


      =>  LINQ to SQL - Refers to a component of.NET Framework version 3.5 that    provides a run-time infrastructure to manage relational data as objects.

      =>   LINQ to DataSet - Refers to a component that makes it easier and faster to query over data cached in a DataSet object.

      =>   LINQ to XML - Provides an in-memory XML programming interface.

      =>  LINQ to Objects - Refers to the use of LINQ queries with any IEnumerable or IEnumerable(T) collection directly, without the use of an intermediate LINQ provider or API, such as LINQ to SQL or LINQ to XML.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

1 5741
Q:

Why does a company/business require an Accounts payables process?

Answer

Accounts payable process is required in a company because this will help and guide the accountant to manage their payables with in the normal course of the business.


This includes verifying and checking the invoice details including the credit terms, due date, mode of payment, payee and the items received. Only the items received will be paid. Incase theres a discrepancy against the actual receipts, a credit note will be raised by the supplier against the short-shipped invoice.


At the end of the month, AP reconcilition is required confirming both parties balances thru the statement of accounts (SOA). This you can identify which invoices or payment hasnt been booked yet by both parties and you will end up with the same balances, (equal balance from your company and with their company).

Report Error

View answer Workspace Report Error Discuss

Subject: Accounts Payable

4 5729
Q:

How do you generate Sequence number in Datastage?

Answer

Sequence numbers can be generated in Datastage using certain routines. They are


-KeyMgtGetNextVal


-KeyMgtGetNextValConn

Report Error

View answer Workspace Report Error Discuss

1 5715
Q:

Which containers use a FlowLayout as their default layout ?

Answer

The Panel and Applet classes use the FlowLayout as their default layout.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

3 5690