Tag «Variables»

VBScript – Variables and Data Types

Variable is a name given to a data storage location such as memory that can change during program execution.  It is a place in the memory where the data can be placed and retrieved during the course of execution. VBScript has only one data type that is Variant.  VBScript variables (Variant) can contain either string …

Java – Static and Instance Variables

Object Oriented Programming has a concept of instance variables.  This type of variable is declared in a class and whenever an object is created of that class, a copy of the variable is created.  Instance variable is accessed as “object.variable” Static variable is also declared in a class but is created only once and used …