Sihle Manqele

Greenhorn
+ Follow
since Sep 28, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sihle Manqele

Hi guys,
Yep, that explains it! It clarifies my whole confusion. Thanks a lot for the feedback...
17 years ago
Hi Burkhard, Thanks for the reply. The reason I asked this question is because copyOf is described in great detail on the official Arrays doc. The question then becomes, should I not take everything in the docs as fact? It feels really cruel from Sun to do this to people who read and depend on these docs to implement solutions!
17 years ago
Hi ranchers, i've come across a very interesting compile-time error which is completely throwing me off. I'm testing how Arrays class works and have the following lines of code:

Arrays.fill(intArr,16);
int[] intTest = Arrays.copyOf(new int[4], 8);

I get the compile error:
StringArrayObjectTest.java:17: cannot find symbol
symbol : method copyOf(int[],int)
location: class java.util.Arrays
int[] intTest = Arrays.copyOf(new int[4], 8);
^
Am I not using copyOf() the way it's supposed to be used? This is not compiling in jdk1.5.0_01 and jdk1.5.0_05.

Thanks
Sihle
17 years ago
Hi
I'm working for a big South African bank as a SAP developer. I have 4.5 years in OO development (using UDS, formerly known as Forte) and 2.5 years on SAP Abap. I got certified as a Java programmer (1.4) in February 2006 and am busy with Developer assignment. I can work anywhere on the universe, so if you think you can use my skillz give me a shout.

Thanks
Sihle Manqele
sihlema@nedbank.co.za
+27 31 364 1235
17 years ago
As a South African who grew up in the townships, I've been finding it extremely hard to learn Java on my own, with no peers around to bounce ideas with. Thanks to the forums like this, my job is getting easier every day, so big THANK YOUs to the guys behind these forums!

I'm implementing UrlyBird Ver 1.1.2. The one glaring thing is the lack of the primary key in the schema. It appears the schema should have had the "Number of Available Rooms" field. It's as if the assumption is "on any given day and price, any hotel can only have one room of its kind". Is that a safe assumption?

Thanks,
Sihle

SCJP 1.4