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.
woteva
gta 5 - why can't i buy the hen house?
Want to buy property in GTA V - can open Lenny Averys page but property is really expensive - where do purchase cheaper business property like the hen house?
4 AnswersVideo & Online Games8 years agoJava question (DL Degree - not school homework!)?
I'm doing a DL degree and we are doing a Java module. I'm completely stuck and need some pointers. Obviously I am also working full time (hence distance learning) so I don't get any lab sessions for help.
I'm pretty sure I need to use an Array in some way but I don't understand how.
This is the question
Write a Java program which takes a sentence from user input, remove all non-letters, reverse it and change case of every letter. For example: Welcome to C4DM -> mdcOTEMOCLEw
This is the code I have so far which does everything except reversing the case:
import java.util.Scanner;
public class StringTest2{ public static void main(String[] args){
Scanner myScanner = new Scanner(System.in);
System.out.print("Please enter a string: ");
String s = myScanner.nextLine();
String nInput = s.replaceAll("\\W", ""); //remove non word characters
String oInput = nInput.replaceAll("\\d", ""); //remove digit characters
String rInput = new StringBuffer(oInput).reverse().toString();
System.out.println("Result: " + rInput);
}
}
2 AnswersProgramming & Design9 years agoAm I being unreasonable with my wife?
My grandma just died a few hours ago, I'm starting a new job in two days, I'm late with my tax return because I don't know where to start with it, I've just bust a gut to sell our house and I have mortgaged myself up to the eyeballs to try and buy a house that my wife loves. I'm feeling a bit stressed and emotional at the moment and my wife has wound herself into hysterics and is shouting in my face and stomping around because apparently nobody thinks of her feelings. I don't know if I can cope anymore, am I being unreasonable to expect a little support and patience from my wife?
18 AnswersMarriage & Divorce1 decade agoSoftware to install & run programs?
I want a piece of software (free) or help in writing a program for Windows XP/Vista that will install and run a series of programs in a certain sequence. Any suggestions?
1 AnswerSoftware1 decade agoWiMAX 802.16 - details?!?
Hi
I have to do an essay on WiMAX (it's 2500 words so I'm not asking anyone to write it for me), but I do not really know anything about it. I have a networking background so will (hopefully) understand and certainly require technical detail. Also, good sources of information would be appreciated.
Thanks!
2 AnswersComputer Networking1 decade agoParacetamol overdose ?
This question is primarily aimed at mental health professionals, doctors, paediatric nurses and so on, able to give fairly expansive answers. Please refrain from unhelpful remarks like "she'd be dead, innit"
If 25g (50 tablets) of paracetamol were ingested by a 14 yr old female, who was then successfully treated approx 18hrs post ingestion, what would be the anticipated long term effects and would they include and increased risk of heart attack?
Please bear in mind that I am not a 14yr old female looking to OD!
6 AnswersOther - Health & Beauty1 decade agoYoungest person to enter into a civil partnership?
Who is the youngest person (or the age of that person at the time of the partnership) in the uk to enter into a civil partnership since the new law came in last year?
Or any ideas where I could find out?
ONS were no use.
Thanks
6 AnswersLesbian, Gay, Bisexual, and Transgender1 decade agoHow many universities are there in Britain?
8 AnswersHigher Education (University +)1 decade ago