Technology Questions

Q:

What are the restriction imposed on a static method or a static block of code?

Answer A static method should not refer to instance variables without creating an instance and cannot use "this" operator to refer the instance.
Report Error

View answer Workspace Report Error Discuss

Subject: Java

5 6597
Q:

Explain in brief B2B, B2C, C2B and C2C.

Answer

- B2B (Business-to-Business)   :


In B2B, companies transact with each other. This includes the companies selling their product to wholesalers, distributors, etc


- B2C (Business-to-Consumer) :


This is usually when average businesses transact with the customer. This is done through the shopping cart softwares and the amount involved in the transactions is usually low.


- C2B (Consumer-to-Business) :


In this, a consumer places the product on the net. The companies willing to buy this product bid for it. The comsumer can then decide, depending upon the bid, which company to sell it to. 


- C2C (Consumer-to-Consumer):


These kind of transactions are usually done at an individual level. Payments can be done with the help of online systems like PayPal.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

3 6594
Q:

How many ways of reusing are there in class hierarchy?

A) 1 B) 2
C) 3 D) 4
 
Answer & Explanation Answer: B) 2

Explanation:

Class hierarchies promote reuse in two ways. They are code sharing and interface sharing.

Report Error

View Answer Report Error Discuss

Filed Under: C++

0 6587
Q:

What are the processing modes available in IMS DB?

Answer

Batch DL/I


MPP Mode - (Message Processing Program)


BMP Mode - (Batch Message Processing)

Report Error

View answer Workspace Report Error Discuss

2 6559
Q:

The correct statement for a function that takes pointer to a float, a pointer to a pointer to a char and returns a pointer to a pointer to a integer is

A) int **fun(float**, char**) B) int *fun(float*, char*)
C) int ***fun(float*, char**) D) int ***fun(*float, **char)
 
Answer & Explanation Answer: C) int ***fun(float*, char**)

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: C++

3 6519
Q:

What is the difference between BRD, SRS and Use Case documents?

Answer

BRD - Business Requirement document is consist of functional Business Requirements, Gap Analysis (between current and future scenarios), In scope and Out of scope of the project, Business rules, Assumptions, Risk etc.


SRS - Source Requirement Specification is consist of Use cases, Use Case Scenarios, Activity flow diagram, Non functional Business Requirements.


Use cases - are the pictorial representation of user centric view of the system.

Report Error

View answer Workspace Report Error Discuss

1 6506
Q:

Which of the following are incorrect form of StringBuffer class constructor  ?

A) StringBuffer(int size , String str) B) StringBuffer(int size)
C) StringBuffer(String str) D) StringBuffer()
 
Answer & Explanation Answer: A) StringBuffer(int size , String str)

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Java
Job Role: Database Administration , IT Trainer

3 6450
Q:

Which two method you need to implement for key Object in HashMap ?

Answer

In order to use any object as Key in HashMap, it must implements equals and hashcode method in Java.

Report Error

View answer Workspace Report Error Discuss

4 6420