Interview Questions

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

What is meant by BDC. How many methods of BDC are there?

Answer

BDC ----> Batch Data Communication 


Methods of BDC-----> Direct Input method, Batch Input Session method, Call transaction method.

Report Error

View answer Workspace Report Error Discuss

Subject: SAP

0 1899
Q:

What is difference between Path and Classpath?

Answer

Path and Classpath are operating system level environment variales. Path is used define where the system can find the executables(.exe) files and classpath is used to specify the location .class files.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1897
Q:

What is database clusters?

Answer

Group of tables physically stored together because they share common columns and are often used together is called Cluster.

Report Error

View answer Workspace Report Error Discuss

1 1895
Q:

Explain how to limit the rows that are retrieved by a query.

Answer

The number of rows returned by a select query can be restricted by the LIMIT clause.
Example:
SELECT * from employee
LIMIT 20

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

0 1892
Q:

When should I use abstract classes and when should I use interfaces?

Answer

Use Interfaces when…


- You see that something in your design will change frequently.


- If various implementations only share method signatures then it is better to use Interfaces.


- You need some classes to use some methods which you don't want to be included in the class, then you go for the interface, which makes it easy to just implement and make use of the methods defined in the interface.


 


Use Abstract Class when…


- If various implementations are of the same kind and use common behavior or status then abstract class is better to use.


- When you want to provide a generalized form of abstraction and leave the implementation task with the inheriting subclass.


- Abstract classes are an excellent way to create planned inheritance hierarchies. They're also a good choice for nonleaf classes in class hierarchies.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1891
Q:

What is assembly manifest?

Answer

Assembly Manifest is a file that contains data that describes how the elements present inside an assembly are connected to each other. The assembly manifest contains assembly metadata to define the scope of the assembly and resolve references to resources and classes.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 1891
Q:

The chart of accounts is designed to

A) alphabetized the accounts to make reading easier for its financial statement users B) summarize the transactions and determine their ending balances
C) meet the information needs of a company and other financial statement users D) analyse the accounts and organize them in order of dollar amount to simplify the accounting information for users
 
Answer & Explanation Answer: C) meet the information needs of a company and other financial statement users

Explanation:

The chart of accounts is designed to to meet the information needs of a company and other financial statement users.

Report Error

View Answer Report Error Discuss

Filed Under: Accounts Payable
Exam Prep: CAT , Bank Exams
Job Role: Bank PO , Bank Clerk , Analyst

0 1890