- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
9 Posted Topics
Hi all, I'm a java programmer but currently have a task to compare different list and output their common element in PL/SQL. In java this is very simple but i'm not sure how i would handle this in sql since I'm fairly new to it. ex l1='A,B,C,D' l2='B,C,D' l3 ='A' …
Hey, i'm not too familiar with c and i need to write a hashing program that takes in a int and a a string. I'm trying to use separate chaining. ok here's my hash function, basic one: int hash(int key ) { return key mod TableSIZE } here's my stuct …
Hey jim, You need a loop to make it repeat( for, while , do ...while etc..) this line ----> if (line != null) { should be while ( line != null ) { .... ... .... line = in.readline(); // last thing u should do to get to next line, …
Hey guys and gals, an int in java is 4 bytes as we all know i bet. Trying to break my into 4 bytes : int foo = 87; bytes[4] mybyte = new bytes[4]; the problem is i don't really know how to break my int into single bytes i …
I think you want something with swings since you mentioned JMenu. here's a simple example: JMenu menu = new JMenu("Color"); JMenuItem blueM = new JMenuItem("blue"); // and do this for the others and once done add them to your menu //ex: menu.add(blueM); // and so on hope this helps good …
Hey there, int id = myList.get(index).getId(); // yeah this line could work The only problem is your storing objects, the list doesn't know at run time what kind of object is stored there i think. You would have cast it like jwenting said. Item t = (Item)myList.get(index); int id = …
Hey there, the errors are coming from your methods. for example: public static int getQuarters(int money.cents) <--- firts off money is an object of the type Coins, not an int. and money only exist in your main block ( scope resolution ); you want something like this: public static int …
[b][size=2][color=#7f0055]hey guys i need some help, i posted my assignment and also the code i have so far, i'm almost done i just don't understand how round robin part works. Write a fully documented class named Simulator that contains the main method that will simulate the system. [b]Your method should …
Hey, yeah java IO is not exactly the easiest thing to learn, but you do need to know a few of the basic classes to use. The easiest way to read in an ASCII text file is to use this: ps: make sure you catch the exceptions or else your …
The End.
Meldroz