Technology Questions

Q:

How to call argument constructor?

Answer

new ClassName( arg1, arg2, .... argN);


Ex:


Class sample {


   Sample(int a) {


   System.out.println("arg con a =" +a);


   }


}


class Demo {


    Public static void main( String[] args) {


     Sample s1= new Sample(23);


     Sample s2= new Sample(45);


    }


}

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1895
Q:

What is a Manifest file?

Answer

A Manifest file is a simple text file that tells the browser what to cache and what not to cache. 


There are three sections of a Manifest file:


i.) CACHE MANIFEST - Files listed here are cached after they are downloaded for the first time. 


ii.) NETWORK - Files listed here require a connection to the server, and are never cached


iii.) FALLBACK - Files listed here specify fallback pages if a page is inaccessible

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1893
Q:

What are the Advantages of PL/SQL?

Answer

- Because of the block nature, multiple statements are processed at once thereby improving performance. 


- PL/SQL handles exceptions on catching which, action can be taken. 


- PL/SQL is highly portable as it works with all procedural languages and is highly secured because of privileges.


 

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

0 1893
Q:

How do you traverse through a collection using its Iterator?

Answer

To use an iterator to traverse through the contents of a collection, follow these steps:


- Obtain an iterator to the start of the collection by calling the collections iterator() method.


- Set up a loop that makes a call to hasNext(). Have the loop iterate as long as hasNext() returns true.


- Within the loop, obtain each element by calling next().

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1893
Q:

What is abstract method?

Answer

abstract method is a method declared with abstract modifier but  with out body.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1893
Q:

Assume that your app is running in the foreground but is currently not receiving events. In which sate it would be in?

Answer

An app will be in InActive state if it is running in the foreground but is currently not receiving events. An app stays in InActive state only briefly as it transitions to a different state.

Report Error

View answer Workspace Report Error Discuss

0 1892
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 1890
Q:

What is the difference between "==" and "==="?

Answer

"==" checks equality only,
"===" checks for equality as well as the type.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1889