Literals are constant piece of data and it tells the data type and value. Here are a few examples of literals:
25 (int)
25.0 (double)
"hi!" (String)
"42" (String)
Notice how writing them...
Type: Posts; User: Rook
Literals are constant piece of data and it tells the data type and value. Here are a few examples of literals:
25 (int)
25.0 (double)
"hi!" (String)
"42" (String)
Notice how writing them...