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.

Lv 44,670 points

Erik H

Favorite Answers18%
Answers1,114

Blogs http://jaywalkersunite.blogspot.com http://things-on-the-internet.blogspot.com Websites http://jaywalkersunite.googlepages.com http://ti.calculators.googlepages.com →A site for TI-BASIC

  • Reference an array attribute of an object in Java?

    I need to write a "self instantiating class" that loops though prompting users for input then displaying the numbers. That's all well and good, but I have the following problem. I am trying to reference an array attribute of the object, but the compiler doesn't recognize the symbol variable "input[]". Removing all the non essential code this is what I have:

    public class Project4

    {

    public void Project4()

    {

    double input[] = new double[20];

    }

    public void getIn()

    {

    String temp = " ";

    double temp2 = 0;

    int i = 0;

    while(!temp.equalsIgnoreCase("q"))

    {

    temp = JOptionPane.showInputDialog(null,"Enter number " + (i+1) + " out of " + "20. Q to quit");

    try

    {

    temp2 = Double.parseDouble(temp);

    input[i] = temp2;

    }

    catch(NumberFormatException e)

    {

    System.out.println("Bad Data");

    System.exit(0);

    }

    }

    }

    public static void main(String[] args)

    {

    Project4 app = new Project4();

    app.getIn();

    }

    }

    How can I make input[] referencable from the getIn method (without making it a static variable)? Or am I thinking about this wrong, and is the array an object?

    2 AnswersProgramming & Design1 decade ago
  • FM Transceiver Numbers and Actual Frequencies?

    I have the portable radios that use "number codes" for lack of a better term. They have a large number, such as a 3, and then a small privacy code number. I have some old walkie-talkies that broadcast on a set frequency (45.something), and I want to use them together. They are both FM radios.

    What website would have a conversion table? Five minutes of Googling didn't yeild any results. A quick response would be great. I tired using the scan function, but it didn't find it. Thanks in advance.

    4 AnswersOther - Electronics1 decade ago
  • Would it make sense to upgrade my graphics card?

    My Current system (don't laugh):

    Pentium 4 2.0 gHz

    512 MB RDRAM 800-45

    Windows XP Home

    128 MB AGP "Mad Dog" GeForce 4 MX 4000

    I'd love to play games like Battlefield Vietnam and BF2. I can't upgrade the ram because it's too hard to find, and too expensive to purchase (RDRAM). Would this produce any noticeable benefit to my game play?

    3 AnswersAdd-ons1 decade ago
  • A USB or an USB?

    Is it correct to say "an USB" (as english rules dictate) or "a USB", which sounds better?

    10 AnswersOther - Computers1 decade ago
  • Recovering from Novacaine faster?

    I'm having a good ol' drill n' fill on Tuesday. I don't mind the shots, its the numbness I hate. Of course the cavities are on opposite sides of the mouth, the entire thing needs numbed.

    I need to know if there is a way to recover from the numbness faster?

    6 AnswersDental1 decade ago
  • Tungsten E2 Completely Unresponsive?

    I have a Tungsten E2, and its been buggy for the 2 years I've owned it. The screen was always off (calibrate utility didn't work) and a lot of older programs didn't work.

    Now it refuses to turn on at all. Charged it overnight on the AC, USB, and both at the same time. Power resets don't work, and I can't initiate a Hotsync.

    Any help would be greatly appreciated.

    2 AnswersPDAs & Handhelds1 decade ago
  • Comment on my Blog?

    This is my most frequently updated blog. Any comments would be fantastic. Thanks in advance.

    http://things-on-the-internet.blogspot.com/

    1 AnswerOther - Internet1 decade ago