Search:

Type: Posts; User: John Joe

Page 1 of 12 1 2 3 4

Search: Search took 0.20 seconds.

  1. Re: how to add questions inside the switch statement and then calculate results in java

    Have you fixed?
  2. Thread: Java Project

    by John Joe
    Replies
    1
    Views
    225

    Re: Java Project

    maybe use Java Swing ?
  3. Replies
    1
    Views
    107

    Re: where is the mistake

    What error you got and what you want to achieve?
  4. Do we really need abstract and interface in our project?

    I've been writing one/two projects but I not using them. I'm not sure in which
    scenario I should use them. Is this consider bad programming style?
  5. Replies
    2
    Views
    419

    Re: i have a problem this code

    Because you are not using it. You may remove it.
  6. Replies
    33
    Views
    1,760

    [SOLVED] Re: running java files in the cmd.exe

    Hey, take a look on this
    https://www.c-sharpcorner.com/blogs/steps-to-run-java-program-using-command-prompt1
  7. [SOLVED] Re: Java Exception in thread "AWT-EventQueue-0" java.lang.StringIndexOutOfBoundsException: String index out of range: -1

    Post your code too
  8. Replies
    3
    Views
    361

    [SOLVED] Re: Code won't compile

    At where you define parsedouble function?
  9. Replies
    2
    Views
    343

    [SOLVED] Re: How do I accept user input?

    Use Scanner.

    You can see this tutorial https://www.w3schools.com/java/java_user_input.asp
  10. Replies
    18
    Views
    392

    [SOLVED] Re: Eclipse | why my program closed (jar) ?

    Maybe tell us how you create the jar?
  11. Replies
    1
    Views
    388

    Re: ROTINA DE NOTA FISCAL ELETRONICA EM JAVA

    ENGLISH PLEASE
  12. Replies
    2
    Views
    400

    Re: Changing update query in SQL

    where is your update query?
  13. Replies
    5
    Views
    367

    Re: Seeking Guidance On my beginner code

    No problem and all the best :-bd
  14. Replies
    5
    Views
    367

    Re: Seeking Guidance On my beginner code

    You have to call song() again inside beersOnWall method.
  15. Re: Why is the som of this these two not correct

    You can use DecimalFormat .


    DecimalFormat value = new DecimalFormat("#.#");
    System.out.println(value.format(som(20.20, 10.10)));

    Don't forget to add this line


    import...
  16. Re: Why is the som of this these two not correct

    Explanation here:

    https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html

    The double data type is a double-precision 64-bit IEEE 754 floating point. Its range of values is...
  17. Replies
    3
    Views
    524

    [SOLVED] Re: NumberFormatException

    Great
  18. Re: how do I do a resultSet for ArrayList and In clause?

    You don't need to use setInt and setString since you have no parameters to pass with.


    String sql1 = "select tutor_id, subject_name from tutor_subject where subject_name in ("
    +...
  19. Replies
    8
    Views
    425

    Re: Inheritance problem

    @Markusovich_

    Stop editing your post !

    Any time you post something on the web, you should be prepared for it to be out there, somewhere, forever.
    If you are worry your post will be visible by...
  20. Re: return statements kicking me out of do-while loop

    Why you need to edit all your post?
  21. Re: return statements kicking me out of do-while loop

    You don't need to use return statement. Return statement will break the loop.

    Modify your code to this

    Driver


    public class Driver {

    public static void main(String[] args) {
  22. Thread: Need help

    by John Joe
    Replies
    4
    Views
    623

    Re: Need help

    I think is similar to this?


    If((num1 == num2) && (num2 == num3)){
    System.out.print("Yes");
    }
  23. Replies
    3
    Views
    1,493

    [SOLVED] Re: Loop using Scanner with try/catch

    Is a common mistake made by most of the beginner :rolleyes:
  24. Re: what is missing for txt to work I have several errors

    You have lots of error here.

    1. Remove the } after public void lecturatxt();
    2. You miss one }
    3. What is function lecturatxt suppose to do ? You need to define body to it !
  25. Re: I have several errors when compiling my code as the name help

    can you post the error?
Results 1 to 25 of 281
Page 1 of 12 1 2 3 4