Home » #coreJava

#coreJava

Garbage Collector

Garbage collection is an essential process in modern programming languages, including Java, to manage memory dynamically and automatically deallocate objects that are no longer needed. The Garbage Collector (GC) is a critical component of the Java Virtual Machine (JVM) responsible for reclaiming memory occupied by unused objects, thereby preventing memory leaks and optimizing memory usage.

Garbage Collector Read More »

Core Java

41. What is Static block in java?Static block in Java is mainly used to initialize the static data members. The specialty of the static block is that it is executed before the main method at the time of class loading.An example of the static block is as follows: 42. Can we execute a program without

Core Java Read More »

Core Java

21. What is Super in java?Super is a keyword that is used to access the method or member variables from the superclass. If a method hides one of the member variables in its superclass, the method can refer to the hidden variable through the use of the super keyword. In the same way, if a

Core Java Read More »

Interview Preparation

Welcome to our comprehensive guide on Interview Preparation for Spring, Spring Boot, and Java! If you’re preparing for an interview for a Java development position or a role that involves working with Spring and Spring Boot frameworks, you’ve come to the right place. In this page, we will provide you with valuable insights, tips, and

Interview Preparation Read More »

Scroll to Top