Search:

Type: Posts; User: amr

Page 1 of 2 1 2

Search: Search took 0.09 seconds.

  1. Replies
    23
    Views
    4,251

    Re: HAPPY 3rd BIRTHDAY JAVA PROGRAMMING FORUMS!!!

    Thank you All :))
  2. Replies
    6
    Views
    1,891

    Re: problem with File Stream

    thanx
    but can u tell me
    1-why we must use try and catch when dealing with files??
    2-how to create a directory "see the first post"
  3. Replies
    6
    Views
    1,891

    Re: problem with File Stream

    in the following code i try to display the contents of a txt file using FileInputStream, and the output is
    ?
    ?
    892745528
    14
    which is absolutely different from the contents of the txt file.

    ...
  4. Replies
    6
    Views
    1,891

    Re: problem with File Stream

    also, I have a proble with the following code
    first file:



    import java.io.*;

    public class OnlyExt implements FilenameFilter
    {
    String ext;
  5. Replies
    6
    Views
    1,891

    problem with File Stream

    Hello,
    Please tell me what is the problem with my code:in the following code i try to create a directory.


    import java.io.*;

    public class MkDir
    {
    public static void main (String[] args) ...
  6. Replies
    10
    Views
    1,918

    Re: what's wrong with my linked list

    thank you.........

    Kind Regards;
    Schuss
  7. Replies
    10
    Views
    1,918

    Re: what's wrong with my linked list

    hi,
    this.index is initialized to getIndex();
  8. Replies
    10
    Views
    1,918

    Re: what's wrong with my linked list

    the node Header is a reference node, to which , i can link the most recent or the last added node to.
    in other words, if i have 5 nodes, in double linkedList, the last node should be connected to...
  9. Replies
    10
    Views
    1,918

    Re: what's wrong with my linked list

    hi
    Header should be initialized to what? and why?
  10. Replies
    10
    Views
    1,918

    Re: what's wrong with my linked list

    hi,
    Header should be initialized to what?? and why?
  11. Replies
    10
    Views
    1,918

    what's wrong with my linked list

    i receive the following errors when excuting this code

    Exception in thread "main" java.lang.NullPointerException
    at Node.createNode(Node.java:28)
    at LinkedList.main(LinkedList.java:6)
    ...
  12. Replies
    5
    Views
    1,266

    Re: error when comparing 2 string objects

    thanx.................
  13. Replies
    5
    Views
    1,266

    Re: error when comparing 2 string objects

    would you please tell me how to use ( highlight) to organize the code being displayed
  14. Replies
    5
    Views
    1,266

    error when comparing 2 string objects

    hello, in the following code i try to compare to string objects, however, i dont know where is my error so please help me



    public class Amr {

    private String word;

    public...
  15. Replies
    1
    Views
    1,132

    hello,my problem is

    hello,
    my problem is that, I want to print out the data in certain output format and the data contain numerical and literal values
    the out put should be formatted as the following:

    1 ...
  16. Replies
    4
    Views
    1,299

    Re: please tell me why i'm getting this error

    Thank you very much Mr.JavaHater and Mr.Goldest for your help.
    it works know
  17. Replies
    4
    Views
    1,299

    please tell me why i'm getting this error

    hello,
    please tell me why i'm getting this error

    D:\javafiles\Exam2.java:8: cannot find symbol
    symbol : method parseInt(char)
    location: class java.lang.Integer
    int...
  18. Re: please tell me how to creat an array of an inner cclass;

    thank you very much
    prima
  19. please tell me how to creat an array of an inner cclass;

    hello,
    please tell me how to creat an array of an inner cclass;


    class outer
    {
    ....
    ....
    class inner
    {
  20. Replies
    1
    Views
    4,260

    how to import my own class in my .java file

    hello,

    how to import my own class in my .java file

    i want to import this class to another separate file, how should i call it. is it
    import javafiles.Amrclass;
    or what?
  21. Replies
    7
    Views
    1,528

    Re: why i still receive these errors

    thank you
    i'm trying to find out
  22. Replies
    7
    Views
    1,528

    Re: why i still receive these errors

    1-would you please give me a simplified example of Encapsulation and Ploymorphism?
    2-either both of the fore-mentioned techniques were applied in my java code" the one you corrected to me"??
  23. Replies
    7
    Views
    1,528

    Re: why i still receive these errors

    thank you for your help
    it works now.

    and sorry for being unfamiliar with the forum rules
  24. Replies
    7
    Views
    1,528

    why i still receive these errors

    this code gives me the following errors,
    why?
    --------------------Configuration: <Default>--------------------
    D:\javafiles\Image Matching Algorithm\ImageMatchingAlgorithm2.java:107: cannot find...
  25. Re: i'm getting this error, dont know why? please help

    thank u very much for ur help,however, i still have some errors and i'll post them
Results 1 to 25 of 40
Page 1 of 2 1 2