Reset author name to chosen name

This commit is contained in:
2025-10-19 21:58:41 -05:00
parent 03c2474f78
commit 12cf757236
574 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
/*
* 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.chloefontenot.testproject;
/**
*
* @author chloe
*/
public class Emoji {
public static void main(String[] args)
{
char emoji = '😁';
System.out.println(emoji);
}
}

View File

@@ -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.chloefontenot.testproject;
/**
*
* @author chloe
*/
public class ExceptionTesting {
public static void main(String[] args) {
Object nullMoment = null;
System.out.println(nullMoment);
}
}

View File

@@ -0,0 +1,21 @@
/*
* 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.chloefontenot.testproject;
/**
*
* @author chloe
*/
public class ParseInt {
public static void main(String[] args)
{
java.math.BigDecimal bigInt = new java.math.BigDecimal(343.445);
System.out.println(bigInt);
String string = new String("lol");
String string2 = "lol2";
System.out.println(string.getClass().getName());
System.out.println(string2.getClass().getName());
}
}

View File

@@ -0,0 +1,24 @@
/*
* 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.chloefontenot.testproject;
/**
*
* @author chloe
*/
public class StringBuilderTest {
public static void main(String[] args)
{
StringBuilder string = new StringBuilder("abcdefghijklmnopqrstuvwxyz");
System.out.println(string.length());
System.out.println(string);
string.append("Java");
System.out.println(string);
string.insert(26, "INSERT");
System.out.println(string);
string.append(true);
System.out.println(string);
}
}

View File

@@ -0,0 +1,41 @@
/*
* 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.chloefontenot.testproject;
import java.util.*;
/**
*
* @author chloe
*/
public class StringBuilderTest2 {
public static void main(String[] args)
{
StringBuilder strBuf = new StringBuilder();
strBuf.append("ABCDEFG");
System.out.println(strBuf);
strBuf.insert(3, "RRRR");
System.out.println(strBuf);
String s1 = "Welcome to Java";
String s2 = "Welcome to Java";
}
}
//System.out.println("s1 == s2 is " + (s1 == s2));
/*
Circle[] circleArray = new Circle[5];
//circleArray[0] = "test";
for (Circle object: circleArray) {
System.out.println(object);
}
}
}
/*
public class Circle {
Circle() {
}
}
*/

View File

@@ -0,0 +1,53 @@
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
*/
package com.chloefontenot.testproject;
import java.math.BigInteger;
/**
*
* @author chloe
*/
public class TestProject {
public static void foo1(int x)
{
System.out.println(x);
}
public static Integer foo2()
{
return 5;
}
public static Integer foo3()
{
return new Integer("10");
}
/**
* public static void main(String[] args) { Integer i = new Integer(4); Integer j = 4; Integer k = new Integer(555); int intInt = Integer.parseInt("76000000");
*
* System.out.println(Integer.MAX_VALUE); foo1(123); System.out.println(foo2().getClass().getName()); System.out.println(foo3()); }
*
*/
public static void printBigInteger(BigInteger[] arr)
{
for (BigInteger i = BigInteger.ZERO;
i.compareTo(new BigInteger(Integer.toString(arr.length))
) < 0;
i = i.add(BigInteger.ONE)) {
System.out.println(arr[i.intValue()]);
}
}
public static void main(String[] args)
{
BigInteger[] arr = new BigInteger[3];
arr[0] = BigInteger.ONE;
arr[1] = new BigInteger("123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789123456789");
arr[2] = new BigInteger("88");
printBigInteger(arr);
}
}