Thank you All :))
Type: Posts; User: amr
Thank you All :))
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"
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.
...
also, I have a proble with the following code
first file:
import java.io.*;
public class OnlyExt implements FilenameFilter
{
String ext;
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) ...
thank you.........
Kind Regards;
Schuss
hi,
this.index is initialized to getIndex();
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...
hi
Header should be initialized to what? and why?
hi,
Header should be initialized to what?? and why?
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)
...
thanx.................
would you please tell me how to use ( highlight) to organize the code being displayed
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...
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 ...
Thank you very much Mr.JavaHater and Mr.Goldest for your help.
it works know
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...
thank you very much
prima
hello,
please tell me how to creat an array of an inner cclass;
class outer
{
....
....
class inner
{
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?
thank you
i'm trying to find out
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"??
thank you for your help
it works now.
and sorry for being unfamiliar with the forum rules
this code gives me the following errors,
why?
--------------------Configuration: <Default>--------------------
D:\javafiles\Image Matching Algorithm\ImageMatchingAlgorithm2.java:107: cannot find...
thank u very much for ur help,however, i still have some errors and i'll post them