Java Variable Declaration Form
Provide all necessary details to declare a variable in Java. Please fill out each section carefully.
Variable Name
*
Data Type
*
Please Select
int
double
float
boolean
char
String
long
short
byte
Custom Object
Access Modifier
*
public
private
protected
default (package-private)
Is the variable static?
*
Yes
No
Is the variable final (constant)?
*
Yes
No
Initial Value (if any)
Scope of the Variable
*
Please Select
Class (field)
Method (local variable)
Block (loop/if block)
Parameter
Intended Use or Purpose
Description or Comment
Sample Code Snippet (optional)
Related Class or Module Name
Add any tags or keywords for this variable
Submit Variable Details
Should be Empty: