The class java.sql.Timestamp is a subclass of which of the following classes?

Choose the correct answer

Explanation

The java.sql.Timestamp class extends java.util.Date, adding nanosecond precision to the date and time representation. Options B and C refer to other time-related classes, but they are not superclasses of Timestamp. Therefore, the correct answer is java.util.Date.

The class java.sql.Timestamp is a subclass of which … — Java concepts and its programming | PakQuizHub