Search:

Type: Posts; User: kissyfurs

Search: Search took 0.17 seconds.

  1. Thread: Logical

    by kissyfurs
    Replies
    10
    Views
    266

    Re: Logical

    why couldn't you do that without the loop? You'd have to write the code out 6 different times and manually change the charAt each time, but it would work. Why are you trying to avoid loops? Is...
  2. [SOLVED] Re: JAVA OOP- Driver and Methods will not play nice together- WHY?!?!

    I was able to fix the issues. I was mixing the double and float names for the same variables, I had a mistake in my code where I was doing interger division, and I had named a variable twice (that...
  3. Replies
    1
    Views
    254

    Looking for simple practice programs

    I'm fairly new to JAVA (6 weeks and counting) and I'm trying to find somewhere I can get simple practice programs that I can write. I realize that I can make anything up on my own and "have at it"...
  4. Thread: Logical

    by kissyfurs
    Replies
    10
    Views
    266

    Re: Logical

    Not sure if you can do this (I'm fairly new) and I can't try this at work, but here's what I would try:
    1. Read the input in as a string rather than an int
    2. Use the charAt Method to read each...
  5. [SOLVED] Re: JAVA OOP- Driver and Methods will not play nice together- WHY?!?!

    I need it to pass the argument of 4 the second time around in order to accurate calculate the total surface area. You first need to calculate the dimensions of one triangle and then the four inside...
  6. [SOLVED] JAVA OOP- Driver and Methods will not play nice together- WHY?!?!

    Once again, OOP is determined to keep me up all night

    Here are my methods

    /****************************************************************
    * Pyramid.java
    * Jenn Stanek
    *
    * This program...
  7. [SOLVED] Re: Why does OOP hate me so much- can not get my driver to work

    I think I understand. I guess I was expecting the computer to do too much for me. I applied the corrections and updated my boolean according to my original post and it worked correctly, along with...
  8. [SOLVED] Re: Why does OOP hate me so much- can not get my driver to work

    So I can use student.setName (name) and that's correct? Isn't the purpose of the setName Method to set the name? Why do I have to have something in the parenthesis?
  9. [SOLVED] Why does OOP hate me so much- can not get my driver to work

    Ok, so here is my class


    public class Student
    {
    private String name; // student name
    private int id; // student id
    //*********************************************************
    ...
  10. Replies
    4
    Views
    182

    Re: I really doing it!!!

    I'm certainly not a know-it-all, nor a kid! /:) However, if he asked, I would have been more than happy to provide feedback. 75% of the students in the class have some type of programming...
  11. [SOLVED] Re: Program compiles with a cannot find symbol error- what is that?

    I can't believe that was all I did wrong. Thanks for your help in pointing that out- I made a few other small changes and it works perfectly!
  12. [SOLVED] Program compiles with a cannot find symbol error- what is that?

    Here is the scope of my program:
    Implement a program that reads a Twitter update (a “tweet”) and prompts the user to provide translations for texting abbreviations within the update. When the user...
  13. [SOLVED] Re: Having problems understanding String Methods

    If I'm using a named variable for the string target and string replacement, I do not need the quotes, correct?
  14. [SOLVED] Re: Having problems understanding String Methods

    String s;
    s = "Jenn";
    System.out.printf("Hello, %s. How are you, %s?\n", s, s);

    s = "Kim";
    System.out.printf("Hello, %s. How are you, %s?", s, s);

    I can't use the example above as...
  15. [SOLVED] Having problems understanding String Methods

    I'm not sure if I'm using the replaceAll method correctly. Based on the example below, if I'm using Public String replaceAll method, do I need to use " around each string inside the parenthesis? Am...
  16. Replies
    4
    Views
    182

    I really doing it!!!

    Learning JAVA, that is! I'm 2 weeks away from officially finishing what will be the first of many JAVA college courses. I made the mistake early in the semester of telling my professor how horrible...
Results 1 to 16 of 16