Which of the following creates an object of the Date class:…
Questions
Which оf the fоllоwing creаtes аn object of the Dаte class: A:public class Test { public Test() { new java.util.Date(); }} B:public class Test { public Test() { java.util.Date date = new java.util.Date(); }}