Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

public class VariableTypes {

@SuppressWarnings("unused")
public static void main(String[] args) {
// write your code here

Expand All @@ -19,15 +20,15 @@ public static void main(String[] args) {
float decimal = 23.32544f;

// define a double variable on line 21
double decimal = 23.2352536d;
double number = 23.2352536;

// define a boolean variable on line 24 (Hint: true/false)
double dogsOut = true; // the dogs are out :)
boolean dogsOut = true; // the dogs are out :)

// define a character variable on line 27
char letter = 'A';

// define a string variable on line 30
char name = "Jeff";
String name = "Jeff";
}
}