Home | Contact Us | Log In | Help
HOME NEW LISTING MOST POPULAR HIGHEST RATED SCRIPTS ADD SCRIPT DOWNLOADS FORUM
Tutorials
  ASP.Net & C#
  ASP
  Perl and PHP
  Java Scripts
  C and C++
  Ajax Tutorials
  J2ee, J2Me, Java
  Python & Ruby Rail
  Crystal Report
  Sap
  CGI
  XML
  Cold Fusion & CFML
  HTML, DHTML & CSS
  Dreamweaver
  FLASH
  Photoshop/Web Designing
  Tools & Utilities
  Oracle/D2K
  Sql Server
  MySql
  Domain Name Registration
  Remotely Hosting
  Web/Server Application
  Hotel Marketing
  Internet and Law
   Search Engine Optimization/SEO
E-Commerce
Interview Questions
Previous < 1 2 3 4 5 > Next
ASP (INTERVIEW QUESTIONS) 2
  What is the difference between a field variable and a local variable?
A field variable is a variable that is declared as a member of a class. A local variable is avariable that isdeclared local to a method.
   
  What is the difference between declaring a variable and defining a variable?

Declaring a variable means describing its type to the compiler but not allocating any space for it. Defining a variable means declaring it and also allocating space to hold the variable. You can also initialize a variable at the time it is defined.

 
  In Bourne shell, how to export variable? (a). export variable (b). export $variable (c). setenv variable (d). set variable

(a) export variable

 
  What is the difference between a field variable and a local variable?

A class field is the same for all instances of the class. An instance field is specific to an individual instance.
Instance is variable, class is an object.
if you declare one instance in a class that instance should be sharing within that class only.
if you declare one class object it will share anywhere in the current program.

 
  What is diff between the Generic Variable and Specific Variable?

Generic Variable:
Create Object Ex:-Ole-Automation . No need refer the object library.
Specific Variable:
Binding Procedure Early and Late Binding ( Can be Remove from the Memory).

 
  What is the difference between defining and declaring a variable?

The basic types of variable in C are namely char, int, double and float. First the variables have to be declared. This is done as follows:

First any of the data type defined above must be mentioned and this is followed by the name of the variable. For instance if wants to declare a variable v1 of type char it is done as follows

char v1;

While declaring a variable what happens is the data type is described to the compiler and no space or memory allocation takes place. In other words just the data types are mentioned without any memory storage for the data types. While defining the variable the declaring the data type of the variable along with space allocation for the variable takes place.

 
  What is a variable?

Variable is a memory location through which the actual values are stored/retrieved. Its value can be changed.

 
  What is use of a cursor variable? How it is defined?
A cursor variable is associated with different statements at run time, which can hold different values at run time. Static cursors can only be associated with one run time query. A cursor variable is reference type (like a pointer in C).
Declaring a cursor variable:
TYPE type_name IS REF CURSOR RETURN return_type type_name is the name of the reference type,return_type is a record type indicating the types of the select list that will eventually be returned by the cursor variable.
 
  What are LOCAL and GLOBAL variables?

Local variables lifetime ends when the Procedure ends. Global variables lifetime begins at the start of the
script and ends at the end of the script and it can be used by any procedure within the script. Declaring a
variable by using the keyword PRIVATE makes the variable global within the script, but if declared using PUBLIC, then all scripts can refer the variable.

 

Previous < 1 2 3 4 5 > Next

  Copyright 2000-2006 © SoloScript.com, All rights reserved.