Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
15
Task/Variables/Apex/variables.apex
Normal file
15
Task/Variables/Apex/variables.apex
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
// If not initialized at class/member level, it will be set to null
|
||||
Integer x = 0;
|
||||
Integer y; // y is null here
|
||||
Integer p,q,r; // declare multiple variables
|
||||
Integer i=1,j=2,k=3; // declare and initialize
|
||||
|
||||
/*
|
||||
* Similar to Integer, below variables can be initialized together separated by ','.
|
||||
*/
|
||||
String s = 'a string';
|
||||
Decimal d = 0.0;
|
||||
Double dbl = 0.0;
|
||||
Blob blb = Blob.valueOf('Any String');
|
||||
Boolean b = true;
|
||||
AClassName cls = new AClassName();
|
||||
Loading…
Add table
Add a link
Reference in a new issue