Skip to content

Instantly share code, notes, and snippets.

@jaxbot
jaxbot / MyArrayList.java
Last active Jan 8, 2017 — forked from wwsun/MyArrayList.java
A basic ArrayList implementation(Java)
View MyArrayList.java
public class MyArrayList {
private static final int DEFAULT_CAPACITY = 10;
private int theSize;
private int[] theItems;
public MyArrayList() {
clear();
View form.html
<!doctype html>
<html>
<head>
<script src='https://www.google.com/recaptcha/api.js'></script>
<script>
function registerAPI(form) {
var params = {
username: form.username.value,
password: form.password.value,
email: form.email.value,