PPreethika S·Jan 28Variables and datatypes in javaLearn what variables and data types are in Java, their types, and how to use them with simple examples. This beginner-friendly guide explains primitive and2 min read·codewithpreethi.hashnode.dev
RRayees Ali·Dec 10, 2025Var - 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.dev
SSHUBHAM YEOLE·Sep 4, 2025🚀 Understanding Optional in Java — A Better Way to Handle NullsOne of the most frustrating runtime errors for Java developers is the NullPointerException (NPE).It often occurs when we try to access or call a method on an object that turns out to be null. String name = null; System.out.println(name.length()); // ...3 min read·shubhamyeole.hashnode.dev
HHimanshi·Aug 10, 2025Java Programming Day 13Practice key Java concepts with interactive tasks: input handling, arithmetic operations, random guessing game, and formatted receipt printing. Perfect for6 min read·java1.hashnode.dev
HHimanshi·Aug 7, 2025Java Programming Day 12Learn Java abstraction and interfaces with clear examples, modified code, and detailed explanations. Perfect for beginners to master OOP concepts in Java.4 min read·java1.hashnode.dev1R
HHimanshi·Aug 5, 2025Java Programming Day 11Learn Java OOP concepts like super, .toString() method, and method overriding with real examples, modified code, and clear explanations.5 min read·java1.hashnode.dev
HHimanshi·Aug 3, 2025Java Programming Day 10Learn Java OOP with arrays of objects, static methods, and inheritance. Includes examples, code, and key takeaways for beginners.5 min read·java1.hashnode.dev
HHimanshi·Aug 1, 2025Java Programming Day 9Understand Java constructors and constructor overloading with real-life examples, detailed code, and beginner-friendly explanations. Perfect for Java Day 95 min read·java1.hashnode.dev
HHimanshi·Jul 30, 2025Java Programming Day 8Explore Java OOP with a slot machine game, custom Car class, and class inheritance. Hands-on practice with real examples and clear explanations.5 min read·java1.hashnode.dev
HHimanshi·Jul 28, 2025Java Programming Day 7Learn 2D arrays, matrices, user input, and build fun Java programs like a quiz and Rock-Paper-Scissors game with detailed examples.7 min read·java1.hashnode.dev