how to write a java program to create Date class with proper constructor, to create object containing date and time. Define a method to display current date and time.
im a beginner in java ..anyone explain plsss
--- Update ---
above program really needs to java.util.date or without using any timestamp