Interview Questions

Q:

public class Threads2 implements Runnable {

public void run() {

System.out.println("run.");

throw new RuntimeException("Problem");

Which among the following is true?

}

public static void main(String[] args) {

Thread t = new Thread(new Threads2());

t.start();

System.out.println("End of method.");

}

}

A) java.lang.RuntimeException: Problem B) run. java.lang.RuntimeException: Problem
C) End of method. java.lang.RuntimeException: Problem D) End of method. run. java.lang.RuntimeException: Problem
 
Answer & Explanation Answer: D) End of method. run. java.lang.RuntimeException: Problem

Explanation:

Only D can be true

Report Error

View Answer Report Error Discuss

Filed Under: Java - Technology

0 15873
Q:

Which one of the following is not used to generate dynamic web pages ?

A) PHP B) ASP.NET
C) JSP D) none of the mentioned
 
Answer & Explanation Answer: D) none of the mentioned

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Web Technology - Technology
Job Role: Analyst

12 15791
Q:

What is the difference between back end collections and front end collections?

Answer

Back end collections means like commission on sales or commission on providing services.
Front end collections means like sales and providing services

Report Error

View answer Workspace Report Error Discuss

14 15726
Q:

public abstract class Shape {

private int x;

private int y;

public abstract void draw();

public void setAnchor(int x, int y) {

this.x = x;

this.y = y;

}

}

Which two classes use the Shape class correctly?

A) public class Circle implements Shape { private int radius; B) public abstract class Circle extends Shape { private int radius; }
C) public class Circle extends Shape { private int radius; public void draw(); D) None
 
Answer & Explanation Answer: B) public abstract class Circle extends Shape { private int radius; }

Explanation:

Only B is true

Report Error

View Answer Report Error Discuss

Filed Under: Java - Technology

0 15591
Q:

What is capital structure? What are the principles of capital structure management?

Answer

Capital structure is a term which is referred to be the mix of sources from which the long term funds are required for business purposes which are raised to improve the capital of the company. To fund an organization plan this capital structure is required which is the combination of debt and equity. The management ensures the capital structure accesses which are needed to fund future growth and enhance financial performance. The principles of capital structure management which are essentially required are as follows:-


 


1) Cost Principle


2) Risk Principle


3) Control Principle


4) Flexibility Principle


5) Timing Principle

Report Error

View answer Workspace Report Error Discuss

Subject: Finance

24 14635
Q:

What is the difference between debenture and preference share ?

Answer

The difference between Debentures and Preferential Shares is as follows:

1) Person holding debentures has owed money to a company, while Preferential Shareholder could be considered as a partial owner of the company.

2) A Preference shareholder earns dividends if the company is making profits, however a debenture holder needs to be paid irrespective of making profits or losses.

3) A debenture holder would be paid the capital invested at the end of a stipulated term. A preference shareholder is not promised return of capital invested; instead he earns dividends till the time the company exists and is profitable.

4) A debenture holder earns interest on the capital invested till the capital is not returned, while a preference shareholder is paid dividends till the time the company exists.

Report Error

View answer Workspace Report Error Discuss

10 14608
Q:

What is the difference between stack and array?

Answer

Stack:


 - Stack is a ordered collection of items


 - Stack is a dynamic object whose size is constantly changing as items are pushed and popped .


 - Stack may contain different data types


Array:


- Array is an ordered collection of items


- Array is a static object i.e. no of item is fixed and is assigned by the declaration of the array


- It contains same data types.

Report Error

View answer Workspace Report Error Discuss

Subject: C++ - Technology Exam Prep: GATE

24 14552
Q:

The total sum of the goods and services produced in a country in a year, minus depreciation is called as ________.

A) Net Domestic Product B) Gross National Income
C) Gross Domestic Product D) Net National Product
 
Answer & Explanation Answer: A) Net Domestic Product

Explanation:

Gross Domestic Product : 

It is the total value of all final goods and services produced within the boundary of country during the given period of time. 

Gross National Product :

It is the total value of the total output or production of final goods and services produced by the nationals of a country during a given period of time. 

Gross National Income : 

It is the total domestic and foreign output claimed by residents of a country, consisting of gross domestic product (GDP) plus factor incomes earned by foreign residents, minus income earned in the domestic economy by non-residents.

Net National Product :

The total value of goods produced and services provided in a country during one year, after depreciation of capital goods has been allowed for.

Report Error

View Answer Report Error Discuss

Filed Under: Bank Interview - Accounting and Finance
Exam Prep: Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

19 14094