package com.example.algorithm.demo.class1;public class Hello {public static void main(String[] args) {long start = System.nanoTime();//程序开始时间System.out.println(start);System.out.println("Hello");long end = System.nanoTime();System.out.println(end);System.out.println(end - start);}}