Java program of import static statement


If we use static import, we use only method to call means without using class name.

Example program of  import  static statement

output of import-static statement in Java

import static statement in Java
import static statement in Java

 

(Visited 56 times, 1 visits today)

Leave a Reply

Your email address will not be published. Required fields are marked *


CAPTCHA Image
Reload Image