[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 244
  • Last Modified:

color in java ! easy question

To represent colorin java, the int is treated in four parts. From left to right, the first 4 bits (AKA nibble) corresponds to opacity, the second red, third green, forth blue.

What is AKA nibble please ?

Thanks a lot.

Aja
0
aja101498
Asked:
aja101498
1 Solution
 
objectsCommented:
Aja,

AKA = Also Known As
nibble = 4 bits
0
 
imladrisCommented:
Although actually, Java internally manages colour with an int, so there is a full byte for each of the 4 parts. An int, in Java, is a 4 byte quantity.
0
 
girionisCommented:
No comment has been added lately, so it's time to clean up this TA.

I will leave a recommendation in the Cleanup topic area that this question is:

- points to objects

Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

girionis
Cleanup Volunteer
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now