Aniblog.anirudha.dev·Oct 27, 2024Imagination: The Final InterfaceIn an era where technological advances continue to break the boundaries of what once seemed like science fiction, we stand at a crossroads between the physical and the digital. The interface has always been the bridge between humans and machines—begi...Discussimagination
Francesco Tusathinkobjectoriented.hashnode.dev·Oct 22, 2024Understanding Encapsulation in Object-Oriented ProgrammingEncapsulation is a fundamental principle in object-oriented programming (OOP) that helps manage program complexity by bundling the attributes (data) and the methods (behaviours) that operate on the data into a single unit called a class. This princip...Discuss·54 readsThe World of Classes and Objectsencapsulation
JeGwanjegwan.hashnode.dev·Oct 19, 2024Interface, 추상화의 아름다움Interface 라는 말이 있다. '얼굴과 얼굴사이'. 사람은 상호작용(interaction)을 한다. 그리고 그 상호작용의 중심에 서로의 얼굴이 있다. 얼굴은 드러난 표면(face)이다. 마주보는 두 표면은 사람과 사람도, 기계와 사람도, 기계와 기계에도 적용된다. 인터페이스는 그 대상의 드러나있는 부분이다. 프로그래밍언어에서 OS, 라이브러리, 런타임이 제공하는 API 는 모두 자신을 어떻게 써야할지 드러내고 있다. 반면 드러나있는 인터페...Discussinterface
Tuanh.nettuanhnet.hashnode.dev·Oct 18, 2024Reasons to Embrace the Liskov Substitution Principle (LSP) in Object-Oriented DesignSource: Reasons to Embrace the Liskov Substitution Principle (LSP) in Object-Oriented Design 1. What is the Liskov Substitution Principle (LSP)? The Liskov Substitution Principle was introduced by Barbara Liskov in 1987 and forms the "L"...Discussoop
Tuanh.nettuanhnet.hashnode.dev·Oct 8, 2024Understanding Functional Interfaces in Java: Why They Matter and How to Use ThemSource: Understanding Functional Interfaces in Java: Why They Matter and How to Use Them 1. What is a Functional Interface? A functional interface in Java is an interface that has exactly one abstract method. This single-method constraint allo...Discussfunctional
Akash Dasakashdas7781.hashnode.dev·Oct 7, 2024Extends vs Implements in Java: A Comprehensive GuideHave you ever thought about the difference between the extends keyword and the implements keyword? Have you noticed where these keywords are used? Now, don’t just say, “In Java, of course!” Just kidding! Obviously, we use these keywords in Java, but ...Discuss·27 readsJava
Ritik Chandelstaticnon-static.hashnode.dev·Oct 1, 2024Abstract Classes and Interfaces in JavaIn Java, Abstract Classes and Interfaces are powerful tools for creating structured and reusable code. Understanding how to use them effectively helps to create better-designed applications. Let’s dive into the details of both concepts. Abstract Clas...Discuss·2 likesJava
pramod reddypramodreddy.hashnode.dev·Sep 26, 2024Interfaces in Java tips.Main uses: Provides complete abstraction defines only what class needs to be done, but not how it will do. polymorphism : runtime it can be decided which implements class object can be called. multiple inheritance. Rules: Interface can only be public...DiscussJava
Rohit Gawanderohit253.hashnode.dev·Sep 25, 2024Chapter 28:Mastering Inner Classes and Interfaces in Java: A Comprehensive GuideIntroduction In this post, I, Rohit Gawande, will take you on a journey through inner classes and interfaces in Java. We will start by revisiting the core concepts of Object-Oriented Programming (OOP), which are fundamental to understanding the struc...Discuss·28 readsinnerclass
Ganesh Rama HegdeforDesign Patterns in Software Blogdesignpatterns.hashnode.dev·Sep 1, 2024Abstract Factory PatternThe Abstract Factory Pattern is another creational design pattern that provides an interface for creating families of related or dependent objects without specifying their concrete classes. Instead of just creating one type of object, like in the Fac...Discuss·1 likeTypeScript