Search:

Type: Posts; User: John Joe

Page 1 of 11 1 2 3 4

Search: Search took 0.25 seconds.

  1. Replies
    6
    Views
    90

    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
  2. [SOLVED] Re: Java Exception in thread "AWT-EventQueue-0" java.lang.StringIndexOutOfBoundsException: String index out of range: -1

    Post your code too
  3. Replies
    3
    Views
    121

    [SOLVED] Re: Code won't compile

    At where you define parsedouble function?
  4. Replies
    2
    Views
    120

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

    Use Scanner.

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

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

    Maybe tell us how you create the jar?
  6. Replies
    1
    Views
    167

    Re: ROTINA DE NOTA FISCAL ELETRONICA EM JAVA

    ENGLISH PLEASE
  7. Replies
    2
    Views
    162

    Re: Changing update query in SQL

    where is your update query?
  8. Replies
    5
    Views
    147

    Re: Seeking Guidance On my beginner code

    No problem and all the best :-bd
  9. Replies
    5
    Views
    147

    Re: Seeking Guidance On my beginner code

    You have to call song() again inside beersOnWall method.
  10. 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...
  11. 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...
  12. Replies
    3
    Views
    184

    [SOLVED] Re: NumberFormatException

    Great
  13. 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 ("
    +...
  14. Replies
    8
    Views
    169

    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...
  15. Re: return statements kicking me out of do-while loop

    Why you need to edit all your post?
  16. 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) {
  17. Thread: Need help

    by John Joe
    Replies
    3
    Views
    236

    Re: Need help

    I think is similar to this?


    If((num1 == num2) && (num2 == num3)){
    System.out.print("Yes");
    }
  18. Replies
    3
    Views
    907

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

    Is a common mistake made by most of the beginner :rolleyes:
  19. 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 !
  20. Re: I have several errors when compiling my code as the name help

    can you post the error?
  21. Replies
    3
    Views
    907

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

    You need to add numberScan.next(); after line System.out.print("\nPlease enter a number"); in catch block. You can find more info from here...
  22. Re: I have several errors when compiling my code as the name help

    What error?
  23. Re: Having a programming issue with an assignment

    You have assigned 0 to checks, so checks is always 0. You should use input instead of checks.

    input = keyboard.nextLine();

    if (input < 0) // negative is false
    {
    System.out.print("ERROR: You...
  24. Replies
    11
    Views
    194

    Re: i am not getting the code ..some help!!!

    Check your Notification (on right top)
  25. Replies
    11
    Views
    194

    Re: please solve my problem....i am not getting the code ..some help

    So is not Restaurant Management System?
Results 1 to 25 of 275
Page 1 of 11 1 2 3 4