Java Hi, I with my Computer Science course

AI Thread Summary
The discussion centers around a student struggling with a programming assignment that requires creating a Color object and returning a darker value. The professor's instructions lack clarity, leading to confusion about the appropriate methods and functions to use. A suggestion is made to explore the Color object in Java, specifically its methods for retrieving and setting RGB values. The conversation indicates that the initial question may not have been posed in earnest, leading to the thread's closure.
Paul Bunyoner
Messages
1
Reaction score
0
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?
 
Technology news on Phys.org
You don't give much context. I assume you are using a specific language and some libraries.
 
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.
 
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.
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...
Back
Top