Why java version at runtime Sometimes you need to execute some code conditionally based on the current…
Java TasksA collection of 14 posts
Almost every java developer would have encountered the below error sometime or the other while executing a…
You can easily determine the jdk version with which a given java file was compiled using the…
Many times we need to check the version of java installed on the system due to the…
Suppose you want to know how many objects of a class have been created during a program…
What is sorting? Sorting means to arrange elements of a collection in an order which can be…
What is MAC address MAC(Media Access Control) address of a device is a unique identity assigned to…
Scenario Suppose your application starts a process (a server embedded in the application, let’s say). The application…
A database script is a file which contains multiple queries separated by some separator. Executing a script…