Mp5 work
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
|
||||
*/
|
||||
package com.calebfontenot.testproject;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author caleb
|
||||
*/
|
||||
public class ExceptionTesting {
|
||||
public static void main(String[] args) {
|
||||
Object nullMoment = null;
|
||||
System.out.println(nullMoment);
|
||||
}
|
||||
}
|
@@ -21,18 +21,21 @@ public class StringBuilderTest2 {
|
||||
|
||||
String s1 = "Welcome to Java";
|
||||
String s2 = "Welcome to Java";
|
||||
System.out.println("s1 == s2 is " + (s1 == s2));
|
||||
|
||||
}
|
||||
}
|
||||
//System.out.println("s1 == s2 is " + (s1 == s2));
|
||||
/*
|
||||
Circle[] circleArray = new Circle[5];
|
||||
circleArray[0] = "test";
|
||||
//circleArray[0] = "test";
|
||||
for (Circle object: circleArray) {
|
||||
System.out.println(object);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
public class Circle {
|
||||
Circle() {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
Reference in New Issue
Block a user