Technology Questions

Q:

What are the different modes of operations used in services for Android?

Answer

There are two modes of operations that are necessary to run depending on the value returned by the startcommand(). The modes are as follows:
-  START_STICKY: this mode is used for the services that are explicitly started and stopped according to the need and the requirement of the user.
- START_NOT_STICKY or START_REDELIEVER_INTENT: this service mode is used for services that are running only when the processing command sent to them. That means these run on the basis of the command that is passed to them by giving the instruction of execution.
- Clients uses the Context.bindService() that is used to get the persistent connection for a service. To create a service that is not already running the command onCreate is used.

Report Error

View answer Workspace Report Error Discuss

0 1310
Q:

What is user Account in Oracle database?

Answer

An user account is not a physical structure in Database but it is having important relationship to the objects in the database and will be having certain privileges. 95. When will the data in the snapshot log be used? - We must be able to create a after row trigger on table (i.e., it should be not be already available) After giving table privileges. We cannot specify snapshot log name because oracle uses the name of the master table in the name of the database objects that support its snapshot log. The master table name should be less than or equal to 23 characters. (The table name created will be MLOGS_tablename, and trigger name will be TLOGS name).

Report Error

View answer Workspace Report Error Discuss

0 1305
Q:

What is the impact of declaring a method as final?

Answer

A method declared as final can't be overridden. A sub-class can't have the same method signature with a different implementation.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1304
Q:

What is stored in the 'this' reference?

Answer

This is a keyword and used as reference to Current object address in java. 


It means by using which object the method is called that object hashcode is stored inside the 'this'.

Report Error

View answer Workspace Report Error Discuss

Subject: Java
Job Role: Analyst

0 1301
Q:

Explain how synchronization takes place with Blackberry Technology .

Answer

The handheld device is used as a network device, which always connected to the data account of the user via redirector software. The software is installed on the BlackBerry Enterprise Server. The communication between the software, BE Server and the hand held device’s software is always a two-way street. BES immediately updates the mobile device or the email or the calendar account, whenever a change in email account occurs.

The push technology of BlackBerry keeps the device instantly in “synch” without any effort by the user. 

Report Error

View answer Workspace Report Error Discuss

0 1298
Q:

In a class if private data member is declared then how to get value of that data member?

Answer

By using method.


The method used to get the data is called getter method.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1288
Q:

What is a class, member and local variable?

Answer

Variables declared within a method are local variables. Variables declared within the class are member variables.  Variables declared within the class with static modifier are class variables 

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1287
Q:

What is the role of compatibility that is used in Android?

Answer

The compatibility is defined in terms of android compatible devices that run any application. This application is written by third party developers using the Android platform that comes in the form of SDK and NDK. There are many filters that are used to separate devices that are there to participate in the compatibility mode for the Android applications. The devices that are compatible require the android to approve it for their trademark. The devices that are not passes the compatibility are just given in the Android source code and can use the android trademark. The compatibility is a way through which the user can participate in the Android application platform. The source code is free to use and it can be used by anyone .

Report Error

View answer Workspace Report Error Discuss

0 1285