I am new to java

Can I know how to get image width and height in java?

got any simple example to refer?

thanks