+1 vote
in JAVA by

import java.time.Clock;

public class App{

  public static void main(String [] args){

    final Clock clock=Clock.systemUTC();

    System.out.println(clock.instant());

    System.out.println(clock.millis());

  }

}

The output for the above code is __________

Compilation error

Runtime error

None of the options

Compiles and executes without any error

Related questions

0 votes
asked Feb 8, 2020 in JAVA by rahuljain1
0 votes
asked Jan 24, 2020 in JAVA by rahuljain1
...