import java.util.Scanner;
import java.io.File;
public class Filedemo {
public static void main(String[] args)
{
Scanner input=new Scanner(System.in);
String s=input.nextLine();
File f1=new File(s);
System.out.println("File Name:"+f1.getName());
System.out.println("Path:"+f1.getPath());
System.out.println("Abs Path:"+f1.getAbsolutePath());
System.out.println("Parent:"+f1.getParent());
System.out.println("This file is:"+(f1.exists()?"Exists":"Does not exists"));
System.out.println("Is file:"+f1.isFile());
System.out.println("Is Directory:"+f1.isDirectory());
System.out.println("Is Readable:"+f1.canRead());
System.out.println("IS Writable:"+f1.canWrite());
System.out.println("Is Absolute:"+f1.isAbsolute());
System.out.println("File Last Modified:"+f1.lastModified());
System.out.println("File Size:"+f1.length()+"bytes");
System.out.println("Is Hidden:"+f1.isHidden());
}
}
The status bar is at the bottom of a program window, and it generally displays what the program is currently doing, or information about program objects you may have the cursor over, such as buttons or text boxes.
Compiling is the act of translating human-readable source code to machine-readable byte code.In Java, the compiler program is javac
compiling - automated machine translation of high order human readable program code to low level machine readable program code.debugging - manual human analysis of program failures to track down incorrectly coded operations that are the root cause of the program failure.
title bar
How to write a program for mouse in microprocessor?
it's called MICROSOFT OFFICE WORD!
A screen (VDU).
a window
The program should have a help area. search the helpe area for information about the debug information the program displays/
The status bar is at the bottom of a program window, and it generally displays what the program is currently doing, or information about program objects you may have the cursor over, such as buttons or text boxes.
Source-code.
It is looking for a storage medium to write the backup information to, so there must be a CD/DVD drive with a writable disc in it before the program is started.
If you don't compile and execute your program, then it's not a program, just a bunch of source code which is worthless to the computer. The whole point of a compiler is to turn the human-readable code into machine-readable code.
Compiling is the act of translating human-readable source code to machine-readable byte code.In Java, the compiler program is javac
compiling - automated machine translation of high order human readable program code to low level machine readable program code.debugging - manual human analysis of program failures to track down incorrectly coded operations that are the root cause of the program failure.
It's the ribbon.
youtube