Search:

Type: Posts; User: basha2013

Search: Search took 0.24 seconds.

  1. Replies
    6
    Views
    222

    Re: how to write a program

    Hi , debag this code and try to understand

    spoonfeeding removed by moderator
  2. Re: pls give create the program for the following

    ...
  3. Replies
    6
    Views
    285

    Re: Missing return statement

    Hi ,use the simple if like

    if(board[i][j] == NUL_CHAR)
    {
    return false;
    }

    if(board[i][j] != NUL_CHAR)
    {
    return true;
  4. Re: someone please be kind enough demonstrate a code like this......

    Hi, the formula is ((N+1)*N)/2. In this first the jvm calculate the (N+1) ,after it multiply the result of (N+1) with N and it perform the division opertation on result (N+1)*N with 2.

    hence ...
  5. Re: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException problem on mac

    i think you are not provide the command line arguments. Run the program with command line arguments like

    > java Distance1 4 5
  6. Replies
    2
    Views
    342

    Re: Why isn't this 2D array working?

    i think the problem with print(test) method. Please post the print(String[][]) method.
  7. Replies
    6
    Views
    285

    Re: Missing return statement

    The compiler expect, if the second if statement [else if(board[i][j] != NUL_CHAR)] also false then this method does not return any boolean value. That's why it showing 'missing return statement'...
  8. Replies
    5
    Views
    537

    Re: IDE Selection

    In development so many peoples are prefer to Eclipse.
  9. Thread: Array help

    by basha2013
    Replies
    7
    Views
    234

    Re: Array help

    Hi, you are not assigned the values to instance variables in 'no argument constructor'. Please assing the values to instance variable in no argument construcor like

    Stapler() {
    name = {"Miller's...
  10. Thread: javascript

    by basha2013
    Replies
    2
    Views
    385

    javascript

    Hi , my form contain so many buttions like insert,update and delete. My requirement is whenever we click on inset buttion then it forward to insert.html page , same like as whenever we click on...
  11. Re: Difference with static and non static variables

    Hi , i understand your proble. For static modifier, just declare the all variables as static and in the main() just add the code after bike2.printStates() like bike1.printStates() and run it, in...
  12. Re: Exception in thread "main" java.lang.NullPointerException

    Hi , at compile time it can not rise. whenever performing the any operations on null values it may be rise at run time.
  13. Replies
    2
    Views
    275

    Re: ERROR - "CANNOT FIND SYMBOL"

    Hi, check the declaration of the variables
  14. Re: The record from database can't be retrieved

    Hi, the result pointer is pointing to "after last record " after executing the while(rs.next()). But you are calling the idpeg = rs.getString(1) after while loop. There is no record in result set at...
  15. Replies
    6
    Views
    357

    Re: i need help with java source code

    Hi Daruga , i found the mistakes
    wrong: 1
    String Payment = "";
    String Payment

    in the main method don't declare two variables with same name and should be initialize before using....
  16. Replies
    2
    Views
    304

    Re: java: performing modification in file.

    Thank you Norm
  17. Replies
    2
    Views
    417

    Re: Use Of Filter in Web App

    Hi ,
    Filters are acts as a front end design pattern. It mean any request go through to filter. These filters are used for authentication purpose, to store loggin informations, data compression...
  18. Replies
    2
    Views
    304

    java: performing modification in file.

    Hi,

    I have a file like file1.txt. It contain more than 1000 lines. My requirement is to perform the modification in 15th line of file1.txt.

    But i know the code like to read the all lines...
  19. Thread: arraylist

    by basha2013
    Replies
    4
    Views
    213

    Re: arraylist

    Hi ankit, Pls try this code to access the subject of perticular student.
    ..code removed
  20. Replies
    4
    Views
    459

    Re: Abstract method vs overloading

    Hi ,
    In the project implementation , it is dificult to verify the code whenever we use our own method names. That why,to usersatnd the code easyly the team leaders creat a some interfaces and...
Results 1 to 20 of 21