Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Java Hi, I need help with my Computer Science course

  1. Nov 4, 2015 #1
    Ok so we are 5 months into our course and I have no idea what I am doing.

    The professor says that we need to create a program that will create a Color object and return a darker value.

    Can I do this with the Math.max function?
  2. jcsd
  3. Nov 4, 2015 #2
    You don't give much context. I assume you are using a specific language and some libraries.
  4. Nov 4, 2015 #3


    Staff: Mentor

    It looks like maybe its java.

    If so then look for examples of using the Color object in java and looks at its collection of methods where you can get values of R, G and B and set R, G, and B.
  5. Nov 4, 2015 #4


    Staff: Mentor

    As far as I can tell, based on a number of other posts by the OP, the question posed in post #1 was not serious.

    Thread closed.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook