Ask Question
23 May, 15:04

what is the output of the following program? import java. util. date; public class test { public static void main (String [] args) { date date = new date (1234567); m1 (date); system. out. print (date. getTime () + ""); m2 (Date); system. out. println (date. getTime ()); }

+5
Answers (1)
  1. 23 May, 15:47
    0
    Answer: 1234567 7654321

    Explanation:

    Firstly date was declared and initialize as 1234567, declared means hive date a specific value.

    then the statement reverse specific date value to (7654321)
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “what is the output of the following program? import java. util. date; public class test { public static void main (String [] args) { date ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers