Forum: Database Design Jan 15th, 2005 |
| Replies: 1 Views: 2,542 :rolleyes:
Hi,
I am new to PLSQL and I have to answer three questions to which I tried my best but i could not do it any more please help.
Here are the tables and the data:
TABLE FACULTY_P(... |
Forum: Java Dec 3rd, 2004 |
| Replies: 5 Views: 13,744 Hi,
(I am wondering if read method returns -1 (which indicates the end of the stream has been reached), and if I invoke read method again on the same stream, is it possible to read any more data?)... |
Forum: Java Dec 2nd, 2004 |
| Replies: 5 Views: 13,744 Hi,
I am not sure I understood what you want? Are you trying to write a program in which you deal with server and clients? If yes you will need to know how to use server socket and client socket.... |
Forum: Java Dec 1st, 2004 |
| Replies: 2 Views: 6,873 Hi,
I know the ASCII code for the letter H is: 1001000
You can get the decimal number of H and then try to convert to binary. Here is a small program to do the conversion. You can figureout how... |
Forum: Java Nov 30th, 2004 |
| Replies: 3 Views: 8,443 Hi,
Here is a small example how to print an array in Message Box
suppose p is an array:
for( int i = 0;i < p.length; i++)
{ JOptionPane.showMessageDialog(null, p[i], "Printing
... |
Forum: Java Nov 17th, 2004 |
| Replies: 10 Views: 12,151 :)
Hi Jerbo,
Thank you for taking time to analyze all this code. I appreciate a lot.
You cannot create an object of class with an empty constructor, if the constructor of that class has... |
Forum: Java Nov 17th, 2004 |
| Replies: 10 Views: 12,151 Well, thank you Jerbo and Jwenting for your ideas. But it seems that none of you understood my problem. Yes I know that you have to create an object of a class in order to access any variable if it... |
Forum: Java Nov 16th, 2004 |
| Replies: 10 Views: 12,151 Hi,
Thank you Jerbo for trying. You cannot say the following:
Record c = new Record(); and then Record r = c.copy();
Record has a constructor with three parameters. Take a look again at the... |
Forum: Java Nov 15th, 2004 |
| Replies: 10 Views: 12,151 :!: Please look at all my message it is not long as it seems. My question is at the end and thank you in advance.
Here is a small class called Record that is a utility class for the InventorySet... |
Forum: Java Nov 15th, 2004 |
| Replies: 6 Views: 9,810 :)
Hi Jwenting
Thank you very much for your help, never mind my previous message. I went to HashMap and I found the implementation of public Collection values()
Here it is:
public Collection... |
Forum: Java Nov 15th, 2004 |
| Replies: 6 Views: 9,810 :)
Hi,
Thank you Jwenting for the info. I looked at the Map interface doc and I found a method called Collection values() and as a comment it is saying: @return a collection view of the values... |
Forum: Java Nov 13th, 2004 |
| Replies: 6 Views: 9,810 Thank you both for your suggestions. Here is what i came up with so far. Iam on the right track???
public Collection toCollection() {
// Recall that an ArrayList is a Collection.
// TODO... |
Forum: Java Nov 13th, 2004 |
| Replies: 6 Views: 9,810 :confused:
Hi,
I have this homework to do and I have to solve a method called:
public Collection toCollection(). Here is what i solved so far:
final class InventorySet {
private Map... |
Forum: Java Oct 27th, 2004 |
| Replies: 3 Views: 3,803 Hi,
I think you need to do the following changes:
(5/9) should be (5.0/9.0) to be able to get double value and same for (9/5) should be (9.0/5.0).
In order for a loop to continue looping you... |
Forum: Java Oct 26th, 2004 |
| Replies: 12 Views: 6,810 :rolleyes:
Hi,
Could you please help?? I am tired and confused. I don't what to do any more! I am trying to write a traffic simulation and i wrote some interface and some classes but the main... |