Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Dan
How do I convert a BufferedWriter object into a File in Java?
I need to do this because I create 5 BufferedWriter objects and I need to move them to a different folder using the "renameTo( )" method. The problem is that a BufferedWriter object is not a file so how can I convert it?
1 AnswerProgramming & Design1 decade agoWhat does "object" = "object" mean in Java?
I have two objects instantiated from the same class. When I say:
Object1 = Object2;
What does this mean? Does it mean Object1 points to Object2 or does it mean
Object1 points to whatever Object2 is pointing to?
Any help would be much appreciated.
4 AnswersProgramming & Design1 decade agoHow do you create a stack of pointers in C++?
I have a node object and want to create a stack of pointers in C++ so that I can push the references onto the stack. Then I will access the top of the stack do something to the Node then pop.
I tried: stack<Node*> stack_of_nodes; and there are no errors, but how do I push a pointer onto this stack? This doesn't work:
void pushOnStack(Node * i){
stack_of_nodes.push( i);
}
Does anyone know how to do this?
4 AnswersProgramming & Design1 decade agoHow do I run an .sql file that creates a table when the file is not in the database?
The file is on my harddrive not in the database. Can I run the file if it's not in the database? If not, how can I copy the file from my harddrive into the database?
3 AnswersProgramming & Design1 decade agoHow do I run a file using a java program that brings up a browse window?
I have a program that hard codes a filepath, but want the program to bring up a "browse" window that asks the user to select a file to run. How do I do this using Java?
1 AnswerProgramming & Design1 decade agoWhat points to what in the following assignment statement?
char* ptr;
char* pointer;
pointer = ptr;
Assuming it would be correct for a pointer to point to another pointer, would pointer be pointing to ptr or would ptr be pointing to pointer?
1 AnswerProgramming & Design1 decade agoWhat percent of insect species are harmful?
1 AnswerOther - Environment1 decade agoWhen I have a pointer as a data member in a structure with the same name as the structure, what does that mean?
In the following C code:
typedef struct Student{
struct Student *link;
int grade;
char *ssn;
}first;
Can someone explain what link is and why it's named after the very same structure that it's a data member of?
1 AnswerProgramming & Design1 decade agoDifference between: ArrayList first = new ArrayList(); and ArrayList<String> first = new ArrayList<String>();?
What is the difference between the two? I know with the second declaration it states that it is an ArrayList of strings, but with the first one isn't it the same if you add strings to the ArrayList? What is the significance of <String>?
3 AnswersProgramming & Design1 decade agoHow do I determine how many node siblings are in a Dom Document Tree?
There is no boolean getNextSibling() method in the Node Interface. So how would I find out how many Node siblings there are in a particular tree?
1 AnswerProgramming & Design1 decade agoIs anyone else embarrassed that an El Paso City Council Member wants to decriminalize drugs?
As a resident of the City of El Paso I am very embarrassed that this city Council Member wants to start a discussion on this. Even the discussion is going to cause great harm to kids. What do you think? (Intelligent responses only please)
2 AnswersLaw & Ethics1 decade agoHow do I right justify a JLabel on a JPanel?
I have a JPanel that is on a JFrame. I want to add a JLabel and right justify it. How do I do this?
1 AnswerProgramming & Design1 decade agoHow truthful is the letter from 2012?
How truthful is the letter from 2012? I have read it and want others to tell me what they think of it. If you believe it than offer evidence of its truthfullness. Please just don't tell me it's true, but offer evidence.
12 AnswersReligion & Spirituality1 decade agoHow far-fetched is the letter from 2012?
I have read it and want others to tell me what they think of it. If you believe it than offer evidence of its truthfullness. Please just don't tell me it's true, but offer evidence.
7 AnswersPolitics1 decade agoHow do I find the net work done by friction given 2 different coefficients of friction and one Length?
A board of length L slides across two different surfaces with 2 different given coefficients of friction. How do I find total work done by friction? I have to use: M(mass), L(length of board), g(gravity), u1 & u2 coefficients.
2 AnswersPhysics1 decade ago"Are element declarations for an xml document to be inserted in the xml document itself?
When I add the following line:
<!ELEMENT book(category,title,author)>
into the xml document at the top the parser complains that the
xml document is not well formed.
Any advice?
1 AnswerProgramming & Design1 decade agoHow hard will Gov. Palin make voters laugh during tonight's debate?
How much improvement can there be only a few days after the Couric interview? Her previous answers had America laughing very hard. There will be much more pressure on her tonight. I think Americans will laugh even harder.
14 AnswersPolitics1 decade agoHow many questions will Gov. Palin not answer tonight?
If you pay attention to the two network interviews she has done, if she doesn't know the answer to a question hot air will come out of her mouth, and when pressed by the interviewer she will repeat the hot air response. Either that or she will say, "I'll have to get back to ya." She is such a joke.
5 AnswersPolitics1 decade agoHow hard will Gov. Palin make Americans laugh at this Thursday's Debate?
How many funny lines will she say this time? How many American's will split their guts laughing at her answers?
10 AnswersPolitics1 decade agoWhat does the following declaration do in Java? List<Human> listMan = new ArrayList<Human>();?
Human is an object that is an ArrayList of Strings. But why is the first word List and not ArrayList? I'm used to declarations such as:
int[] first = new int[];
Where the type is the same on the left side and right side of the equals sign. Can anyone provide me with a description of what the above declaration is? I'm guessing it's a _______ of _________.
2 AnswersProgramming & Design1 decade ago