Day 0 of code: Print Hello World! hackerrank | java | tutorial


Video is ready, Click Here to View ×

here is the blog link from there you can get solution of live competition

day 0 code of hackerrank in java. you can learn from hello world and slowly slowly can learn all java concept
and any problem in coding ask me if possible i help you

14 thoughts on “Day 0 of code: Print Hello World! hackerrank | java | tutorial

  1. Okay okay
    i still have doubts can you clear them up for me?
    1.why did you put
    Scanner sc= new Scanner(;
    2.why did you put
    String s=sc.nextline();
    3.and how did that 30 days of code got into the String!?

  2. Exception in thread "main" java.util.NoSuchElementException: No line found
    at java.util.Scanner.nextLine(
    at sample.main(
    here is my code
    public class sample {
    public static void main(String[] args) {
    Scanner sc=new Scanner(;
    String s=sc.nextLine();

    System.out.println("Hello, World.");
    what's the problem??

Leave a Reply

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