I am totally new to Java and I am wondering if someone could help me by giving me a example of a java file that displays your name and maybe 2 other bits of information. Then have the application show the file name, parent, size and time of last modification.
My teacher would like everyone to give an example of this and I am totally lost. Sure would appreciate it if someone could explain this to me..as I am not getting help through my class.
what do you know how to do? we really don't hand out homework answers here, but we'll bend over backwards helping you do it.
can you write the basic "Hello, World!" application? do you know how to compile and execute a program? do you have a Java environment on your machine?
What have you tried? where are you stuck?
answer these qeustions, and we'll help you move forwards. But nobody is going to just hand you the code. And if they do, I or one of the other moderators is probably going to remove it as soon as we find it. We want you to LEARN java, so you can be a good programmer. we don't want you to pass the assignment, and the class, by getting the code from someone else.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors