Search:

Type: Posts; User: Tamilarasi

Page 1 of 2 1 2

Search: Search took 0.19 seconds.

  1. Replies
    9
    Views
    1,327

    [SOLVED] Re: reading a file line by line

    refer this link:File I/O
  2. Replies
    9
    Views
    1,327

    [SOLVED] Re: reading a file line by line

    This code is work for me. you are get FileNotFoundException.
    So you check your file path.
    Put correct file path.
  3. Re: Simple Employee Class Not Passing Tests

    Are you told about this methods?



    public String getName() {
    return name_;
    }

    public void setName(String name) {
    this.name_ = name;
  4. Replies
    4
    Views
    1,443

    Re: Can't declare Variable in new method

    you have to add braces in your condition

    and concentrate with your return statement..

    Learn this: coding style - Single statement if block - braces or no? - Programmers
  5. Replies
    28
    Views
    2,808

    Re: Help for my codes

    you first learn how to search string from 2d array and then you fetch the other items depends on the searching string
    Searching a 2d Array (Java) for an element - Stack Overflow
  6. Re: Simple Employee Class Not Passing Tests

    you got any exception or when you struck the process?
  7. Replies
    16
    Views
    1,188

    Re: Help needed with array

    First of all i posted only the basic issue for how to pass the array from one to another class. Then i explained what is issue how to fix that issue in within comments for posted code.once you read...
  8. Replies
    11
    Views
    1,180

    Re: HELP WITH METHODS!

    you didn't call the methods like calc_averages() and calc_average() anywhere then how to print the average in your screen..
    you first call the methods in your class and assign return statement in...
  9. Replies
    16
    Views
    1,188

    Re: Help needed with array

    I think you need this


    ...removed
  10. Replies
    1
    Views
    949

    Re: creating files and folders using GUI

    I hope this link will be help to you
    Files & Directories : Java Glossary
  11. Re: How to make the output side by side. I need HELP!

    you made mistake on your loop. Because you used double for loop
    So process completed the first for loop and print the statement after that that will be go to another one.

    So print your output...
  12. Thread: java coding

    by Tamilarasi
    Replies
    2
    Views
    1,096

    Re: java coding

    can you post your code what you tried so far?
  13. Replies
    1
    Views
    1,426

    Re: Question about data types

    you search and read this type of links:

    Java - Basic Data Types
    Java Tutorial - Lesson 2: Variables and Data Types
  14. Replies
    12
    Views
    1,670

    Re: Pls check my code

    you create array with fixed length. So the output print with zeros..

    you refer this link: Java array declaration without hard coding the size - Stack Overflow
  15. Replies
    8
    Views
    1,755

    Re: Fibonacci Series

    Refer this link:
    Fibonacci Series Java Example | Java Examples - Java Program Sample Source Code

    I hope this will be help to you
  16. Replies
    14
    Views
    1,468

    Re: Code problems! HELP :)

    Please concentrate your scanner this is very simple issue

    you refer this link:How to use the Scanner class in java? - Stack Overflow
  17. Replies
    8
    Views
    1,962

    Re: Cannot print boolean value from class!

    you create the public boolean isOn ( boolean newOn ) method with parameter.

    So you must call this method with parameter like this..

    testfan1.isOn(false);

    And this method only print the...
  18. Replies
    2
    Views
    1,181

    Re: Double array averages

    i think you want to calculate the average 2d array..

    if you want this refer this link:

    finding average in 2d arrays

    Otherwise you post your code completely and explain your doubt clearly....
  19. Re: Reding a file and storing the string as well as numeric value in array in specific format

    yes you get all values of x=[] for zone=2 from the starting of zone=1.

    Because you only create the list like below..



    List<Double> x = new ArrayList<Double>(); //Defining double arraylist...
  20. Replies
    9
    Views
    1,383

    Re: Reg:extending a jpanel

    Can you post your code what you have tried so far?
    that will be easy to help you...
  21. Re: Jva Game error: Exection in thread "main" java.lang.nullpointerexception

    yes you have made the mistake on this line


    gMain.window.setLocation(null);


    your code set the null location. So you have got the null pointer exception

    you set any values in location like...
  22. Replies
    3
    Views
    1,057

    Re: While Loop Question?

    what is your question can you please ask clearly?
  23. Re: assignment1- change pseudocode into java code

    What you have tried so far?
    I think you try to create currency convertor in java.
    Can you post your code? that will be help easy to help you...
  24. Re: Hey fellas whats wrong with my code? Im having problems here

    You have open the { brace and return false; unnecessarily. Because you don't create any method

    you create the code like this..



    if (W.charAt(i) != W.charAt(N-1-i))
    {
    ...
  25. Replies
    3
    Views
    863

    Re: BruceForce Method and Modulus HELP!

    your Result 232792560%11 is 0 is correct.

    What you exactly want. and What is wrong with you code?
    can you explain clearly?
Results 1 to 25 of 50
Page 1 of 2 1 2