Skip to content

Instantly share code, notes, and snippets.

View Flaque's full-sized avatar
。・:*:・゚★,。・:*:・゚☆

Evan Conrad Flaque

。・:*:・゚★,。・:*:・゚☆
View GitHub Profile
public int getSize(){
}
String someText;
someText = “You then set the value later, like I’m doing here”;
String someText = “This is an example String”;
public class Boat {
int size;
public static void main(String[] args){
}
public int getSize(){
public class Boat {
int size;
public static void main(String[] args){
size = 5;
}
System.out.print(getSize());
public class Boat {
static int size;
public static void main(String[] args){
size = 5;
System.out.print(getSize());
public class Boat {
static int size;
public static void main(String[] args){
public static boolean biggerThan(int numberToCompare, int maxSize){
}
public class Boat {
static int size;
public static void main(String[] args){
size = 5;
System.out.print(getSize());