Scroll to see replies
output out = new output();
public class Foo
{
static int var1;
}
private int one () {
// evil code in here
}
for example you can return the total age in the function and call it when you want to assign it to something else:private int evilNumber (int x, int y) {
int total;
total = x + y;
return total;
}
public void evilFunction () {
int newTotal = evilNumber(5, 6);
System.out.println("the total is" + newTotal);
}
so it will return 11 when you call evilFunction.Last reply 1 week ago
Hello .. I am looking for computer science program BSc/BEng 2024 entryLast reply 3 weeks ago
What A-Levels should i do if i wanna do a Bsc in Computer ScienceLast reply 4 weeks ago
Correlation between performance in UKMT and performance in TMUA/STEP?Last reply 4 weeks ago
Do top universities allow just 3 A levels including Further Maths?Last reply 1 week ago
Hello .. I am looking for computer science program BSc/BEng 2024 entryLast reply 3 weeks ago
What A-Levels should i do if i wanna do a Bsc in Computer ScienceLast reply 4 weeks ago
Correlation between performance in UKMT and performance in TMUA/STEP?Last reply 4 weeks ago
Do top universities allow just 3 A levels including Further Maths?