Sarah Haideri

Greenhorn
+ Follow
since Jun 22, 2001
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 Sarah Haideri

Thanks Rob for the reply. Can you please change the code so that it does what you are suggesting?
Thanks a lot.
20 years ago
Why don't you reply here if you know?
Thanks.
20 years ago
I have an old applet which loads image. What can be done to increase the refresh rate? I know it contains some deprecated methods of Thread class. What can be done to stop using those methods?
Here is source code. Can someone update it to increase the refresh rate and get rid of the deprecated methods?
Thanks.
20 years ago
I have an old applet which loads image. What can be done to increase the refresh rate? I know it contains some deprecated methods of Thread class. What can be done to stop using those methods?
Here is source code. Can someone update it to increase the refresh rate and get rid of the deprecated methods?
Thanks.
20 years ago
I have an old applet which loads image. What can be done to increase the refresh rate? I know it contains some deprecated methods of Thread class. What can be done to stop using those methods?
Here is source code. Can someone update it to increase the refresh rate and get rid of the deprecated methods?
Thanks.
I'm trying to create a class First which contains at least 10 sayings as static String data members.It also contains getFortune() method which picks and returns one of the sayings at random.This is the program I'm writing:


This program gives me an error that you cannot access non-static variable randGen from static method. what should I do?
Can someone help?
Thanks.
The program which I've written is:

Am I writing it correctly? This program gives me an error.
Thanks for your help.
I'm trying to create a class First which contains at least 10 sayings as static String data members.It also contains getFortune() method which picks and returns one of the sayings at random.
Can someone help me write the code?
Thanks.
Hi everybody!!
I want you all to guide me which book should I use to learn XML. I'm a beginner in learning XML and I want to know about a good book which is easy to understand and teach me all the important aspects related to XML. I already know HTML, javascript & java.
Thanks in advance.
Thank you all for your wishes!!
Thanks.
21 years ago
Hi All!!
Yesterday I took the exam and I passed. Many many thanks to God and to all of you who were so quick to respond. I used to read all posts. I used to get happy for those who passed with good marks. I used to get scared reading the posts saying " I blew it". Now I feel very relieved and happy.
Thanks again to all Javaranchers.
21 years ago
The answer will be 12 !!
Consider the following program...

This question's right option is nothing can be said about the output.

Question ID :988383703406
Consider the following code:

What will the above code print?
This question's right option is it'll keep printing the x and y values incrementing one on each line.

Consider the following code:

This code's right option says it'll keep printing x and y values incrementing 1 on each line.
I'm kind of confused. Can anyone clear my doubts regarding threads?


The answer given is FileInputReader. Is there a class with this name? I think it should be InputStreamReader.
Thanks.

Hi everyone!!
I just wanted to know do we get true/false type of questions in real exam?
And also do we get such type of questions as "Which of the following statements are true?"
Thanks.
21 years ago