Monday, August 17, 2009

Crap##

Woah!! The laziness make me can't sleep last night, about 2 weeks I never do my work well that cause me have to rush for my assignment until late night late yesterday. I slept at 3:30am because the my programming assignment due date is today, it already postponed, the actual due date is last Friday but due the to majority of the student cannot finish the work therefore lecturer postpone it.


public abstract class Item {

private static String itemCode;

private static String title;

public Item(){

}

public Item(String itemCode, String title){

Item.itemCode = itemCode;

Item.title = title;

}

public static String getItemCode(){

return itemCode;

}

public static String getTitle(){

return title;

}

public static void setItemCode(String itemCode){

Item.itemCode = itemCode;

}

public static void setTitle(String title){

Item.title = title;

}

public abstract double sellingPrice();

public abstract int quantityOnHand();

public String toString(){

return "Title :" + title + "\nItem code :" + itemCode + "\nSelling price :RM" + sellingPrice() + "\nQuantity :" + quantityOnHand();

}

public static boolean equal(String s1, String s2){

if(s1.equals(s2))

return false;

else

return true;

}

}


All this code make me burn the night oil to finish it, but this is just about 10% of the assignment only. It's all own fault due to laziness therefore have to burn the night oil to finish it.

This is not only the work have to hand in today, some more got 1 set of engineering mathematic have to finish, this is also the assignment of the subject, we have to do a lot of course work due to the coursework of the subject is increase to 40% compare to previous only 20%.

By the way, the hard time is over at the moment because Wednesday still got programming test and Thursday is the due date to hand to the Circuit and Signal assignment. OMG!! I think of the work also feel tired.


But today my classmate Lu Soon treat all of us power root to increase our energy to burn the night oil again in order to finish our work...haha...


-The End-

0 comments: