Show all posts by user
Semester 1
Page 1 of 1 Pages: 1
Results 1 — 5 of 5
Good day Sir
I received my assignment marks back, and it's not looking good.
I have followed the following guidelines and the tutorial letter.
• If there are no links to text files containing the code, but they have sent their code per email, then their final mark is marked down by 50%.
I have links to textfiles
• If neither is present, then just mark the student – I will
by
Jackes
-
ICT3612
What would be the best way to declare a constant?
static double costOfModule = 756.90;
or
final double costOfModule = 756.90;
by
Jackes
-
ICT2613
public class PostGraduateStudent extends Student{
String researchGroup;
PostGraduate(String fn, String ln, Gender g, int nomr, String rg){
super(fn,ln,g,nomr);
researchGroup = rg;
}
public String toString(){
return super.toString() + "," + researchGroup;
}
}
public class Student{
enum Gender{MALE, FEMALE}
//{
String firstName;
String lastName;
by
Jackes
-
ICT2613
When a constructor is written with the specific fields, when are we suppose to use the word 'this' in front of the fields?
Like the example below...
class Pet {
public static String type, breed;
public static int age;
Pet() {
this.type = "unknown";
this.breed = "unknown";
this.age = 0;
}
Pet(String ftype, String fbreed, int fage) {
t
by
Jackes
-
ICT2613
Does someone have the memo for the Examination Question Paper 1 of January/February 2010?
by
Jackes
-
ICT2613