Technology Questions

Q:

How to check that the file object is pointing a file on HD?

Answer

boolean isFile();

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1961
Q:

What is the purpose of the wait(), notify(), and notifyAll() methods ?

Answer

The wait(), notify(), and notifyAll() methods are used to provide an efficient way for threads to wait for a shared resource. When a thread executes an object's wait() method, it enters the waiting state. It only enters the ready state after another thread invokes the object's notify() or notifyAll() methods..

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1959
Q:

What is local class?

Answer

Local class is class defined inside method


EX;


class A { // top level class


  public static void main(string[] args) {


   class B { // local class


   }


}


}

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1957
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 1951
Q:

What is a ResultSet ?

Answer

A table of data representing a database result set, which is usually generated by executing a statement that queries the database.


 


ResultSet object maintains a cursor pointing to its current row of data. Initially the cursor is positioned before the first row. The next method moves the cursor to the next row, and because it returns false when there are no more rows in the ResultSet object, it can be used in a while loop to iterate through the result set.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1951
Q:

What is ADB in Android ?

Answer

Adb is short for Android Debug Bridge. It allows developers the power to execute remote shell commands. Its basic function is to allow and control communication towards and from the emulator port.

Report Error

View answer Workspace Report Error Discuss

3 1947
Q:

What is the difference between SAP memory and ABAP memory?

Answer

sap memory is a global memory whereas abap memory is local memory.

For example, we have four programs in abap memory and assigned some varibles to a particular program in abap memory then those varibles can't be used by anyother program in abap memory i.e., the variables are only for that program and also local to that memory,whereas sap memory can access all the abap memory or else it can perform any kind of modifications.

Report Error

View answer Workspace Report Error Discuss

Subject: ABAP

0 1945
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 1945