Search:

Type: Posts; User: PitLv

Search: Search took 0.06 seconds.

  1. Replies
    5
    Views
    1,265

    Re: Create Employee Class

    If you are allowed to use substring() method, use it to take out the first letter of one's first name and last name. If you are not allowed, use array.
  2. Replies
    5
    Views
    1,265

    Re: Create Employee Class

    The question is very straightforward. Create a instance class, four instance variables, one constructor, and two instance methods.
  3. Replies
    10
    Views
    1,086

    Re: Romain to arabic numbers converter

    It is possible to convert Roman numbers to Arabic numbers by using loop and if-else statement. Here is my suggestion: read the Roman numbers from the left to the right. If the leftmost number is...
  4. Replies
    3
    Views
    2,491

    Re: Run Java Applet as Web and Desktop application

    I'm working on porting my Applet to Android and iOS. That would be nice if you show me some tutorials on how to run Applet as a Desktop app.
  5. Replies
    3
    Views
    2,491

    Run Java Applet as Web and Desktop application

    Hi,

    I want to run my Java Applet as Web or Desktop application but don't know how. I've watched some tutorials online about converting Java applet file (.class) to Web app. However, my Applet has...
  6. Replies
    4
    Views
    1,914

    Re: Pause/Resume audio in applet

    AudioClip object has three methods: play(), stop(), and loop() (which plays again and again).
  7. Replies
    5
    Views
    1,196

    Re: How to create a text file?

    "c:/FilePractice/text.txt" is wrong, should it be "\", instead of "/"?

    Let's say you want to create a text file in C:\MyData\Java. You should add: "C:\\MyData\\Java\\textfile.txt" .
  8. Replies
    6
    Views
    1,964

    [SOLVED] Re: URGENT Array List Question

    Only III is correct. Even though you may use I & II to create a String ArrayList, you still need to cast them before using.
  9. Re: Am I close to having this right? If statements

    Shorter way for you



    if (n1 > 0 && n2 > 0 && n3 > 0 && n4 > 0 && n5 > 0)
    do your tasks if those input numbers are valid
  10. Replies
    3
    Views
    1,199

    Re: What is the overiding in java?

    Overriding method: same signature (same return type, list of parameters, name of method), but do slightly different task.
    Overloading method: same name of method, but different list of parameters.
  11. Replies
    21
    Views
    1,159

    [SOLVED] Re: What is wrong with my code? pls help!

    I tested on my Eclipse and it ran fine (after fixing semicolon)
  12. Replies
    2
    Views
    1,181

    Re: very basic program

    You need to know at least these things below to write that program:
    1) Know how to prompt user to input value
    2) Know how to use loop
    3) Know the difference between integer and double.
  13. Replies
    10
    Views
    974

    Re: Arrays- assignment due in 30 mins!!

    What is m? What is n? You are supposed to assign m and n with the length those array.
    Also, you do not need Scanner in =new Scanner(System.in);
Results 1 to 13 of 13