Java Lab - CUHK CSE

CSC1030 HANDS-ON INTRODUCTION TO JAVA Lab Exercise #5. Due on 3 ... Write a static factorial(int n) method which takes an integer parameter n to calculate and to return n-factorial as a long value. ... The constructor needs NOT check/ validate the value of the parameter, for example, negative or zero vector size.


part of the document



....