What is diffrent between truncate and delete command in java? explain with example
I have typed wrongly that is not java that is Oracle
RTFM, it will explain all. Question is worded "academically", so the idea is that you figure it out *for yourself* and the point of the example is to show you've understood it.
In fact you may even find there's an example in the documentation.