Var - ArgsTo understand the var args concept , let us solve the following problem Write a class that has a method called sum( ) which can add and return the sum of all the integers passed to it as argument . The method should be able to accept 2 3 or 4 argum...4 min read·javaforinterview.hashnode.devDec 10, 2025
Modern Switch in JavaFrom JDK 12 Java introduced a new version of switch called as Modern switch or Switch Expression It was introduced as preview feature in JDK 12 and later on finalized in JDK 14 The modern switch enhances the traditional switch by making it more con...3 min read·javaforinterview.hashnode.devDec 9, 2025
Java ArchitectureComponents of Java JVM (Java Virtual Machine) JITC (Just in time compiler) JRE (Java Runtime Environment) JDK ( Java Development Kit) JVM Heart of Java programming language Converts the byte code to the machine specific code Key Responsibil...1 min read·javaforinterview.hashnode.devDec 8, 2025
Essential Takeaways from Day 14 of Spring FrameworkLearn about Spring Framework namespaces, their usage, and how p:namespace and c:namespace simplify Spring XML configuration5 min read·ali.devJul 21, 2024