Technology Questions

Q:

What is difference between "assign" and "retain" keyword?

Answer

Retain -Specifies that retain should be invoked on the object upon assignment. takes ownership of an object


Assign - Specifies that the setter uses simple assignment. Uses on attribute of scalar type like float,int.

Report Error

View answer Workspace Report Error Discuss

Subject: SAP

3 2510
Q:

What is an OOK-Rec in IDMS?

Answer

An OOK-Rec is a one of a kind record set, used to get to another record set.

Report Error

View answer Workspace Report Error Discuss

0 2502
Q:

What are the ways of preserving data on a Web Form in ASP.NET?

Answer

These objects provide two levels of scope:


Application State


Data stored in the application object can be shared by all the sessions of the application.


Application object stores data in the key value pair.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET
Job Role: Software Architect

0 2501
Q:

When is the onStop() method invoked?

Answer

A call to onStop method happens when an activity is no longer visible to the user, either because another activity has taken over or if in front of that activity.

Report Error

View answer Workspace Report Error Discuss

0 2497
Q:

How can we encrypt the username and password using PHP?

Answer

User names and passwords in PHP can be encrypted using md5 function.


MD5 function calculates the md5 hash of a string. It is basically used for encryption. It is also used for digital signature applications, where a large file must be "compressed" in a secure manner.


Example:


Md5($str);


 


Crypt() function can also be used to encrypt a string,. It used MD5, DES or blow fish algorithms for encryption.


Syntax:


Crypt(str, salt)


Salt is an optional parameter used to increase the number of characters encoded, to make the encoding more secure

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2496
Q:

What’s the difference between include and require?

Answer It’s how they handle failures. If the file is not found by require(), it will cause a fatal error and halt the execution of the script. If the file is not found by include(), a warning will be issued, but execution will continue.
Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2495
Q:

What is JavaScript?

Answer

JavaScript is a scripting language most often used for client-side web development.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2489
Q:

What are the basic interfaces of Java Collections Framework ?

Answer

Java Collections Framework provides a well designed set of interfaces and classes that support operations on a collections of objects. The most basic interfaces that reside in the Java Collections Framework are:


Collection, which represents a group of objects known as its elements.


Set, which is a collection that cannot contain duplicate elements.


List, which is an ordered collection and can contain duplicate elements.


Map, which is an object that maps keys to values and cannot contain duplicate keys.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

1 2489