Thanks a lot. I am new to java and hadn't realized we can declare outside if you use the new operator.
Type: Posts; User: xpr2
Thanks a lot. I am new to java and hadn't realized we can declare outside if you use the new operator.
I would like to know if we can dynamically create an array in main method but declare it as global. Is such a thing supported by java?
Here is my reason,
I am working with images. So within the...
Anyone help please?
I am testing the code for a 4X4 gif image named abc which I made with MSpaint which contained 2 black pixels and rest as white
Once I ran the code (given below) the output was
-1 -1 -1 -1
-1 -1...