in Education by
Which of the following contains both date and time? (a) java.io.date (b) java.sql.date (c) java.util.date (d) java.util.dateTime I had been asked this question in final exam. This question is from JDBC topic in portion Java Beans & JDBC of Java Select the correct answer from above options JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
Correct answer is (d) java.util.dateTime Easiest explanation: java.util.date contains both date and time. Whereas, java.sql.date contains only date.

Related questions

0 votes
    Which one of the following contains date information? (a) java.sql.TimeStamp (b) java.sql.Time (c ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Which of the following attributes are common to both audio and video? (a) enter (b) control (c) ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 22, 2021 in Education by JackTerrance
0 votes
    When a program contains extensive use of event handlers, which of the following is necessary? (a) Modular ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    Which of the following list contains multiple data types? (a) Vectors (b) Data frames (c) Matrices ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 22, 2021 in Education by JackTerrance
0 votes
0 votes
    Which of these packages contains all the event handling interfaces? (a) java.lang (b) java.awt (c ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
0 votes
    The client-side JavaScript asynchronous programming model contains _________ (a) Timers and error handlers (b) User ... for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
...