byte array initialization (Beginning Java forum at JavaRanch)

byte array initialization (Beginning Java forum at JavaRanch)

瀏覽:366
日期:2024-10-11
Hi, can I initialize a byte array like this? byte array[]=new array[]{255,255,255,0}; the compliler says cast from int to byte is needed. I don't und ... ideal Welcome to the Java Ranch, we hope you’ll enjoy visiting as a regular however, your name is not...看更多