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.
Hi Thanks for your solution. I just wanted to add something in it. All classes in the java.lang package are imported by default. Thus you do not need to import java.lang.*;
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Java Datatypes
You are viewing a single comment's thread. Return to all comments →
Hi Thanks for your solution. I just wanted to add something in it. All classes in the java.lang package are imported by default. Thus you do not need to import java.lang.*;