Java

Java shell (REPL)

JShell is a Read-Evaluate-Print Loop (REPL), The Java Shell tool (JShell) is an interactive tool for learning the Java programming language and prototyping Java code. It is useful to test…

Continue Reading

Java

Java 10 features

Parallel Full GC for G1 – The G1 garbage collector which was made default in java 9 has been optimized for full garbage collection. Local Variable Type Inference – This…

Continue Reading

Java

What is output of below code

package uhg;public interface TestI {     public void method();} *************************************************** package uhg; public class Base {        public void method(){        System.out.println(“in Base”);    } } ************************************package uhg; public class TestClass…

Continue Reading