Skip to content

Instantly share code, notes, and snippets.

View damithc's full-sized avatar

Damith C. Rajapakse damithc

View GitHub Profile
@damithc
damithc / Manage_Task.java
Last active January 31, 2020 05:41
CS2113-M16: Tutorial 3, task 5
import java.util.*;
public class Manage_Task {
private String description;
private boolean important;
private int i; // used to count tasks
String pastDescription[] = new String[10]; // a list of past descriptions
public Manage_Task(String d) {
this.description = d;
@damithc
damithc / AddressBook.java
Last active August 25, 2017 04:39
AddressBook-level0 ~500 LoC
package seedu.addressbook;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.InvalidPathException;
import java.nio.file.Path;
import java.nio.file.Paths;