/Java-Projects

Download Image from URL and print file size, width and height of image using java.

Primary LanguageJava

Java

Java code to download image from url and print the file size, width and height of the image.

Instructions for beginners to complie and run the code.

  • Filename and class name should be same.
  • Compile the code using following command;

    javac filename.java

    If the code is complied successfully, then class file will be created and stored in .java file path.
  • Then run the code using following command;

    java filename