Search Results

Showing results 1 to 5 of 5
Search took 0.01 seconds.
Search: Posts Made By: Infarction ; Forum: Java and child forums
Forum: Java May 4th, 2007
Replies: 3
Solved: best compiler
Views: 1,363
Posted By Infarction
I prefer to use Sun's, since they're the ones who created the language. I don't know how others compare, though.
Forum: Java Mar 31st, 2007
Replies: 2
Solved: jav prog
Views: 712
Posted By Infarction
Not quite. The default access modifier makes things public only to the same package. Any class in another package will not be able to access the methods/members.
Forum: Java Feb 6th, 2007
Replies: 2
Views: 983
Posted By Infarction
^ is a bitwise XOR operator. It can only be used on primitive integer types.

?: is the ternary operator, so named because it takes three parts (see example below). It's shorthand for an if-else...
Forum: Java Jan 31st, 2007
Replies: 5
Views: 2,196
Posted By Infarction
int row = 0;
int col = 0;
for (row =0; row<theArray.length; row++)
{
for(col = 0; col<theArray[row].length; col++)
{
// no work being done here...
// you should compare...
Forum: Java Jan 23rd, 2007
Replies: 3
Views: 4,222
Posted By Infarction
You're really close again. You've got the assignment backwards for the first value (it should be a = theArray[0];). There is one other problem with your code though: it doesn't scale. What you...
Showing results 1 to 5 of 5

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC