I have questions about binaryGCD from MutableBigInteg er java core class and wish to confirm you guys. I have copied MutableBigInteg er class into my folder. I need to write a MYPROGRAM to call bynaryGCD but I confuse about their modifiers...ple ase advise. thanks a bunch
1.
2.
3.
4.
1.
Code:
class MutableBigInteger {
//I ONLY can access this class from my main() when I put both
classes (Mutable & MYPROGRAM) in a same package
(because it's not public)?
Code:
MutableBigInteger hybridGCD(MutableBigInteger b) {
// This method calls binaryGCD below ...
Code:
private MutableBigInteger binaryGCD(MutableBigInteger v) {
// Can I directly call this method without first call
binaryGCD from MYPROGRAM?
Code:
static int binaryGcd(int a, int b) {
// How about this one?can directly call this method too?
Comment