in Education by
Which one of the following contains date information? (a) java.sql.TimeStamp (b) java.sql.Time (c) java.io.Time (d) java.io.TimeStamp This question was posed to me in an interview for internship. My doubt is from JDBC 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
Right answer is (a) java.sql.TimeStamp Best explanation: java.sql.Time contains only time. Whereas, java.sql.TimeStamp contains both time and date.

Related questions

0 votes
    Which of the following contains both date and time? (a) java.io.date (b) java.sql.date (c) java ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 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
0 votes
    Which tag should be used to pass information from JSP to included JSP? (a) Using tag (b) Using ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
0 votes
    Which one of the following causes memory leak? (a) Release database connection when querying is complete (b ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
...