Lets define a date in the form of a String ``` String ds = "15/03/2000"; ``` Then we use objec ... Read More
Debugging is different than running a program. Instead of running the entire program at once ,we deb ... Read More
${__javaScript(new Date();)}--->Used to print current date ${__javaScript(2>7)}--->will give fals ... Read More
And differences between abstract classes and interfaces are - * A child class can only extend one c ... Read More
String is a non mutable class i.e once we create an object of String class like we created in the e ... Read More
e.printStackTrace() prints the whole stacktrace i.e at which line error occured,what message was di ... Read More
* One thing to note regarding Path class is ,it never knows if a path actually exists or not. * So ... Read More
Collections have various inbuilt methods that are very powerfull like Collections.reverse , Collecti ... Read More
Checked exceptions need to be catch otherwise the program won’t compile. Like I/O operations throw c ... Read More
* We have seen in previous example if we use Paths.get(.) to print absolute path of current direct ... Read More