java own package use-plz somebody help
i have heard the uses of packages.
we can create our own package.and then can import and access it frm another package.
i have tried it.but ends up with failure.
now, my first package's source D:\javacodings\codings\try
try is the nam eof my package,and it contains. file 'sample.java'
and the content in the file
when i tr y to compile the file in my try package,,i.e sample.java
i get the following error
sample.java:1: 'class' or 'interface' expected
plzzzz tell what mistake i have done,,
and correct it,,
|All times are GMT +5.5. The time now is 12:33.|