Search:

Type: Posts; User: Sambit

Page 1 of 3 1 2 3

Search: Search took 0.27 seconds.

  1. Replies
    4
    Views
    178

    Re: another easy one, variable not initialized

    Hi,

    "hold" is a local variable for main(String[]) method. Such variables are never initialized on its own. If you put these variables inside a constructure, then only it will be initialized to...
  2. Thread: Help needed

    by Sambit
    Replies
    8
    Views
    175

    Re: Help needed

    Sorry, we are not able to understand what are you trying to do exactly and what is the problem you are facing. Please can we have a detailed explanation.
  3. Replies
    3
    Views
    149

    Re: Trouble with my URL

    Please check the constructor public URLTransformer(String basurl, String rubriker)

    You missed to set to values basurl and rubriker to members of URLTransformer class.
  4. Re: I need to accept a sentence and see if any words have consecutive vowels and how many such words r there

    Hi,

    Please can you post your code in proper manner so that it can be easily readable and understood. Please check the below for reference:
    Announcements - What's Wrong With My Code?

    I feel...
  5. Re: Trying to find 3 largest numbers in an array using a single For loop

    Hi, Your logic is not proper. Please modify your code and post it properly as mentioned by GregBrannon above.
  6. Re: Help with making a custom checkerboard with nested loop

    @GregBrannon: Finally your approach was a success, but it came with lots of code. Thanks, learnt a different way
  7. Thread: infix to prefix

    by Sambit
    Replies
    1
    Views
    189

    Re: infix to prefix

    I guess this is what you are asking:

    double d = 1.2345;
    int i = (int) d;

    Let us know if there are any further problem
  8. Re: Need help in roulette wheel Selection in genetic algorithm

    Sorry we cant provide the code in this forum. If you can come up with a code or algorithm then we can help in your project
  9. Replies
    2
    Views
    115

    Re: Need help with a code!

    Thats obvious, you dont have a method getAverage(int[] var) in your class. Please fix it. Even after that you will be having few more compilation error. Please review and fix them and good luck.
  10. Re: Help with making a custom checkerboard with nested loop

    @GregBrannon and @andbin: 2 nested for-loops can be nice to display the output. But I feel that will be difficult in printing correct character in correct place. I am running through some ideas where...
  11. [SOLVED] Re: Extracting Eclipse project as runnable java isn't working

    Hi Lora, Did you code executed successfully in eclipse when it was not compressed?

    Can we please have the code of Data.java and please highlight line no 357..
  12. Replies
    7
    Views
    239

    Re: IE Mistaking Java code for ActiveX?

    Please can you let us know the IE version your user is using?
  13. Replies
    5
    Views
    264

    Re: Dvd Rental Program help?

    Please can you post the code in correct format for understanding?

    Now, what is the problem you are facing. We dont find a question.
  14. Thread: index help

    by Sambit
    Replies
    6
    Views
    110

    Re: index help

    Thanks Norm, your solution is more easy. In Question.java use a new property "index" and populate all the time when you read a question.
  15. Replies
    5
    Views
    232

    Re: How to call Servlet using ajax

    Create a div id for the 2nd drop down. responsetext should be set in the inner HTML of 2nd drop down element.

    Follow the link ajax - populate dropdown on change of another using servlet - Stack...
  16. Thread: index help

    by Sambit
    Replies
    6
    Views
    110

    Re: index help

    Okay lets take an example.

    The text file contains the below:

    What is your name
    Brad
    William
    Simon
    1
  17. Replies
    5
    Views
    232

    Re: How to call Servlet using ajax

    Hi,

    I understand what you want to do in your application. I guess you have not searched in web.

    Please refer to Call servlet from Ajax - Stack Overflow
  18. Replies
    5
    Views
    146

    [SOLVED] Re: string length problem

    Please check for the above advise provided. If you still have issues then please can you post your input, output and error(if received) for this program.
  19. Re: Spring autowired variable is null when accessed from another class

    I am not 100% sure if this will work, because i dont have a test environment with me to help you out.

    But, can you instantiate A before executing getFileName() methid and then check if everything...
  20. Re: Runtime array programm but there is error in it.

    Please check if multi dimensional array can be used as argument.
  21. Replies
    3
    Views
    155

    Re: Which is efficient Arraylist or Hashmap??

    I feel ArrayList would be a better way to implement the stuff you are trying.
  22. Re: java code related to unicode in cryptography

    I hope we have simillar problem put in an another thread earlier. Sorry we cannot provide the code. If you could prepare some basic code and logic, then we can help you out in finishing that where...
  23. Replies
    4
    Views
    145

    Re: Java Packages creat and run in Eclipse

    Can you let us know the project structure and the package name you have created. Also have you created a class inside the package and run that?
  24. Replies
    14
    Views
    288

    [SOLVED] Re: payroll-retrobaseSalary issue

    In the method isRetroActive(), please can you put System.out.println() and check for the values of variables which is causeing the return value false. Keep doing the same and you will come to know...
  25. Replies
    6
    Views
    176

    Re: Method not being applied

    Please could you go through your logic again and put an updated code here.
Results 1 to 25 of 61
Page 1 of 3 1 2 3