Re: Java and Math, yikes!
Hello and welcome to the forums.
The instructions are laid out infront of you..
You can at least start by creating a class called Complex and add the parts you understand.
Even beginners should know how to add two double variables and a method etc. This stuff is basics.
Please post your attempt at the code and we can take it from there.
Re: Java and Math, yikes!
Quote:
Originally Posted by
JavaPF
Hello and welcome to the forums.
The instructions are laid out infront of you..
You can at least start by creating a class called Complex and add the parts you understand.
Even beginners should know how to add two double variables and a method etc. This stuff is basics.
Please post your attempt at the code and we can take it from there.
I'm studying for a chem exam atm, but I shall try the methods later and get back to ya.
The second and third bullet points confuse me though. We really never talked about "constructors"
Also, for the get methods, do I just do something like this:
Program program = new Program();
Class progClass = program.getClass();
Method Getx = progClass.getX (or Method GetY = progClass.getY
Re: Java and Math, yikes!
Quote:
Originally Posted by
Tfence
We really never talked about "constructors"
That shouldn't preclude you from trying to learn about them yourself...google the term and you will find ample descriptions
Re: Java and Math, yikes!
Quote:
Originally Posted by
copeg
That shouldn't preclude you from trying to learn about them yourself...google the term and you will find ample descriptions
Thank you.