We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
static import allows us to access static member of a class(here in is the static member of System class) without class qualification.
If we were to not use static import then it can be written as BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Prime Checker
You are viewing a single comment's thread. Return to all comments →
static import allows us to access static member of a class(here in is the static member of System class) without class qualification. If we were to not use static import then it can be written as BufferedReader br=new BufferedReader(new InputStreamReader(System.in));