Interview Questions

Q:

What is a package?

Answer

Package is a collection of related classes and interfaces. package declaration should be first statement in a java class.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

1 1459
Q:

You want only a vertical scrollbar and no horizontal scrollbar on your page. How would you do it?

Answer

- This can be done by defining the frame with SCROLLING = auto and having content to just fit into this frame. 


- SCROLLING="yes" gets the scroll bar on both the sides, even when not needed. 


- SCROLLING="no" doesn’t get the scrollbars at all, even when they are needed.


 

Report Error

View answer Workspace Report Error Discuss

0 1458
Q:

What is the difference between method overriding and overloading?

Answer

Overriding is a method with the same name and arguments as in a parent, whereas overloading is the same method name but different arguments

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1457
Q:

What is a batch input session?

Answer

BATCH INPUT SESSION is an intermediate step between internal table and database table. Data along with the action is stored in session ie data for screen fields, to which screen it is passed, program name behind it, and how next screen is processed.

Report Error

View answer Workspace Report Error Discuss

Subject: SAP

0 1456
Q:

What is the use of FOR XML in SQL Server?

Answer

SQL Server is having a fantastic feature to retrieve data persisted in the form of XML format. The data in the XML format can be retrieved using FOR XML clause appending to the SELECT statement.


It offers 3 modes.


- “FOR XML AUTO": Returns XML elements that are nested, based on which tables are listed in the "from" part of the query, and which fields are listed in the "select" part.


- "FOR XML RAW": Returns XML elements with the "row" prefix (ex: ""). Each column in a table is represented as an attribute and null column values aren't included.


- "FOR XML EXPLICIT": Explicit mode is the most complex shaping method used in SQL Server 2000. It allows users to query a data source in such a way that the names and values of the returned XML are specified before the query batch is executed. 

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1456
Q:

Which investment type typically carries the least risk?

A) Mutual funds B) Treasury bonds
C) Savings account D) Individual stocks
 
Answer & Explanation Answer: C) Savings account

Explanation:

Different types of risk exist in ivesting schemes depending on what you've invested in.

 

Savings accounts are generally regarded as the least risky investments as in this we just save our wealth for future expenses.

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

What is the use of Virtual Domain?

Answer

- Virtual domain is the domain of the client on which they can run their applications without having to install the server or hardware. 


- The software need not to be installed physically on the server as it can be done using the local repositories and maintaining the domain locally. 


- Using the virtual domain the server storage space is utilized efficiently and the data can be made more secure before publishing it online. 


- Virtual domains are used to represent the personal Internet web address domain name and can be made with your personal one. 


- Virtual domain provides more security in terms of using your own personalized domain and allows the access to the resources that are on web.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1453
Q:

Differentiate different types of Doctypes from one another.

Answer

Doctype helps the web browser to correctly render the web pages. There are different types of Doctype that are available and they are as follows:


=> Strict Doctype: it consists of all the HTML elements and it is also known as DTD (Document type definition) but it doesn't include the presentational and deprecated elements i.e. font, center, etc. Framesets related elements are also not allowed in this. For example:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"


"https://www.w3.org/TR/html4/strict.dtd">


=> Transitional Doctype: it consists of all the HTML elements and attributes. It is also known as DTD (Document type definition). It includes the presentational and deprecated elements i.e. font, center, etc. Framesets related elements are also not allowed in this. For example:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"


"https://www.w3.org/TR/html4/loose.dtd">


=> Frameset Doctype: it consists of all the HTML elements and attributes. It is also known as DTD (Document type definition). It includes the presentational and deprecated elements i.e. font, center, etc. Framesets related elements are also allowed in this. For example:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"


"https://www.w3.org/TR/html4/frameset.dtd">

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1453