Interview Questions

Q:

Which is a reserved word in the java programming language?

A) Variable B) Identifier
C) Keyword D) Main
 
Answer & Explanation Answer: C) Keyword

Explanation:

Reserved words are words that cannot be used as object or variable names in a Java program because they're already used by the syntax of the Java programming language.

Java reserved words are keywords that are reserved by Java functions or other uses that cannot be used as identifiers (e.g., variable names, function names, class names).

If a reserved word was used as a variable you would get an error or unexpected result.

 

Examples : Int, Long, Abstract, Class, Break, Catch, Case, Public, Static, Void,...

 

 

Report Error

View Answer Report Error Discuss

1 2661
Q:

Describe a time when your workload was heavy and how you handled it?

Answer

When I was working on a software employment team at XYZ Company, we took over one more company and had to turn many clients to a new product in a short period of time. It took a lot of planning, hard work, time and effort, but we were able to finish the project in a timely manner.


 

Report Error

View answer Workspace Report Error Discuss

1 2660
Q:

What is Overloading Polymorphism?

Answer

Overloading allows multiple functions to exist with same name but different parameters. Again if you take bike as an example, it has a function “Start” with two forms i.e. ’Auto Start’ and ’kick start’.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2655
Q:

Distinguish between speculator and hedger?

Answer

The main difference lies in the motive of the two parties. The main motive of the hedger is to hedge(minimize) the risk from the occurence of some events. 


The motive of the speculator is to gamble in the market in order to make the profit by buying/selling the derivative products.


 

Report Error

View answer Workspace Report Error Discuss

Subject: Finance

2 2652
Q:

Oracle Server supports two different forms of replication: Basic and Advanced replication. Explain difference between these.

Answer

Basic Replication : Basic replication is implemented using standard CREATE SNAPSHOT or CREATE MATERIALIZED VIEW statements. It can only replicate data and not procedures, indexes replication is always one-way, and snapshot copies are read only.


Advanced Replication : Advanced replication supports various configurations of updatable snapshot, multi-master and update anywhere replication. It is more difficult to configure but allows data and other database objects like indexes and procedures to be replicated.


 


Differences between Basic and Advanced replications:


- With basic replication, data replicas provide read-only access to the table data whereas advanced replication features extend the capabilities of basic read-only replication by allowing applications to update table replicas throughout a replicated database system.


- With Basic Replication applications can query data from local data replicas. On the other hand with advanced replication, data replicas anywhere in the system can provide both read and update access to a table's data.

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

0 2652
Q:

What are fact tables and dimension tables?

Answer

Business facts or measures and foreign keys are persisted in fact tables which are referred as candidate keys in dimension tables. Additive values are usually provided by the fact tables which acts as independent variables by which dimensional attributes are analyzed.


Attributes that are used to constrain and group data for performing data warehousing queries are persisted in the dimension tables.


 

Report Error

View answer Workspace Report Error Discuss

0 2652
Q:

Generally accepted accounting principles are

Answer

Generally Accepted Accounting Principles (GAAP) are basic accounting principles and guidelines are concepts that govern the field of accounting.


 


Accounting principles and guidelines include :


 


* Business Entity Assumption


* Accounting Period


* Historical Cost Concept


* Full Disclosure Principle


* Cost Principle


* Matching Principle


* Materiality


* Monetary Unit Assumption.

Report Error

View answer Workspace Report Error Discuss

Subject: Accounts Payable Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

1 2651
Q:

If a method is declared as protected, where may the method be accessed?

Answer

A protected method may only be accessed by classes or interfaces of the same package or by subclasses of the class in which it is declared.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2648