Posts by Pravin

@Pravin

Pravin Jain

Java Trainer and Evangelist
India Joined May 2025
2.5k Points44 Badges0 Connections39 Followers25 Following

Posts by Pravin

Posted in Java group
Pravin in Articles 1 min read
A simple Unicode escape trick Do you think the following Java code can compile correctly? public class HelloWorld { public static void mainString args { // This is the first single line comment \u0009\u000a\u000c\u002f\u002a####### ...
Posted in Java group
Pravin in Articles 1 min read
IO class of Java 25 Java 25 intrroduced a new class called IO in java.lang package, in order to avoid writing longer code when using System.out.println. I found a difference in the behaviour from the System.out.println Just try the following main ...
Pravin in Articles 4 min read
Introduction While working on a code, where I wanted to hide some part of the code by using the unicode escapes instead of the actual code, I accidentally discovered an undocumented feature which as been available since Java 16. I like to call this...
Pravin in Articles 1 min read
We know that all final variables need initialization before they can be used. So can we access a final variable before it is initialized? Well, for the final instance variable and final class variable it is always possible to access them before they...
chevron_left