Tagged articles

oop

220 articles · Page 3 of 3
Java Captain
Java Captain
Mar 25, 2018 · Fundamentals

Understanding Java Callback Mechanism Through a Classroom Analogy

This article explains the Java callback mechanism step by step using a kindergarten story, showing how simple addition can evolve into interface‑based callbacks with a SuperCalculator, and demonstrates the pattern with concrete Student, Calculator, Seller, and doJob implementations.

CallbackDesignPatternjava
0 likes · 13 min read
Understanding Java Callback Mechanism Through a Classroom Analogy
MaGe Linux Operations
MaGe Linux Operations
Mar 24, 2018 · Fundamentals

Master Python Basics: Variables, Loops, Data Structures, and OOP

This tutorial introduces Python's core philosophy and syntax, covering variables, conditional statements, loops, lists, dictionaries, and object‑oriented concepts such as classes, encapsulation, and inheritance, providing ready‑to‑run code examples for each topic.

FundamentalsLoopsVariables
0 likes · 17 min read
Master Python Basics: Variables, Loops, Data Structures, and OOP
Java Captain
Java Captain
Feb 28, 2018 · Fundamentals

Understanding Object‑Oriented Programming: Classes, Objects, and Memory in Java

This article explains the core concepts of object‑oriented programming in Java, covering the relationship between classes and objects, the four OOP principles, comparisons with procedural programming, illustrative Gomoku game code, and how Java’s stack and heap memory model underpins references and object instantiation.

ObjectsProgramming Fundamentalsclasses
0 likes · 11 min read
Understanding Object‑Oriented Programming: Classes, Objects, and Memory in Java
Java Captain
Java Captain
Feb 4, 2018 · Fundamentals

Common Java Interview Questions and Core Language Concepts Explained

This article provides concise explanations of key Java concepts—including object‑oriented features, access modifiers, primitive types, autoboxing, memory areas, garbage collection, class loading, inner classes, cloning, and common interview code snippets—offering a comprehensive reference for Java developers and interview preparation.

JVMMemory Managementinterview
0 likes · 42 min read
Common Java Interview Questions and Core Language Concepts Explained
Java Captain
Java Captain
Jan 27, 2018 · Fundamentals

Key Java Interview Questions and Answers (2017 Edition)

This article compiles essential Java interview questions covering topics such as switch statements, equality operators, object methods, reference types, hashCode, string handling, overriding, abstract classes, XML parsing, thread control, memory layout, polymorphism, garbage collection, and collections, providing concise explanations to help job seekers prepare effectively.

CollectionsFundamentalsGarbage Collection
0 likes · 16 min read
Key Java Interview Questions and Answers (2017 Edition)
Java Captain
Java Captain
Jan 22, 2018 · Fundamentals

Understanding Encapsulation in Java with Example Classes

This article explains the concept of encapsulation in Java, describing its purpose of hiding internal details, outlining four key benefits, and illustrating its use through Husband and Wife class examples, including getter/setter methods, validation, and how encapsulation simplifies future code modifications.

EncapsulationGetterSetterObjectOrientedProgramming
0 likes · 9 min read
Understanding Encapsulation in Java with Example Classes
Java Captain
Java Captain
Jan 19, 2018 · Fundamentals

Understanding Polymorphism in Java

This article explains Java polymorphism, covering its definition, dynamic binding, necessary conditions, benefits such as substitutability and extensibility, and demonstrates implementation through interfaces, inheritance, method overriding and overloading, accompanied by sample code and a quiz with expected outputs.

Dynamic BindingMethod Overloadinginheritance
0 likes · 6 min read
Understanding Polymorphism in Java
21CTO
21CTO
Jan 15, 2018 · Fundamentals

Master Python Encapsulation & Inheritance: Public vs Private Variables Explained

This article explains Python's object-oriented principles, illustrating how encapsulation hides data through public and private instance variables, demonstrates getter/setter methods, and shows inheritance by extending classes, all accompanied by clear code examples.

EncapsulationPublic Variablesinheritance
0 likes · 9 min read
Master Python Encapsulation & Inheritance: Public vs Private Variables Explained
21CTO
21CTO
Jan 14, 2018 · Fundamentals

Master Python Loops, Dictionaries, and OOP Basics with Practical Examples

This tutorial walks you through Python's for loops, iterating over lists and dictionaries, demonstrates key-value access, explores class definitions, constructors, getters, setters, and property decorators, and shows how to create and manipulate objects with clear code examples.

DictionariesLoopsclasses
0 likes · 8 min read
Master Python Loops, Dictionaries, and OOP Basics with Practical Examples
Java Captain
Java Captain
Jan 8, 2018 · Fundamentals

Understanding Abstract Classes and Interfaces in Java

This article explains the concepts, syntax, and design differences between Java abstract classes and interfaces, illustrating how each is used for abstraction, inheritance, and behavior contracts with code examples.

Abstract Classinterfaceoop
0 likes · 9 min read
Understanding Abstract Classes and Interfaces in Java
Java Captain
Java Captain
Dec 27, 2017 · Fundamentals

Differences Between Abstract Classes and Interfaces in Java and When to Use Each

This article explains the characteristics of abstract classes and interfaces in Java, compares them across multiple dimensions, provides code examples, and offers guidance on choosing the appropriate construct based on default implementations, inheritance needs, and future changes.

Backend DevelopmentProgramming Fundamentalsoop
0 likes · 6 min read
Differences Between Abstract Classes and Interfaces in Java and When to Use Each
Java Captain
Java Captain
Dec 8, 2017 · Fundamentals

Comprehensive Java Fundamentals and Interview Q&A

This article provides a thorough overview of core Java concepts—including object‑oriented features, polymorphism, interfaces, abstract classes, immutability, memory models, concurrency utilities, collections, JVM internals, and common interview questions—supplemented with code examples and clear explanations for developers preparing for technical interviews.

JVMoop
0 likes · 49 min read
Comprehensive Java Fundamentals and Interview Q&A
Java Captain
Java Captain
Oct 26, 2017 · Game Development

Java Shooting Game Example Demonstrating OOP Concepts

This article presents a complete Java shooting‑game source code, explaining how each class—Airplane, Bee, Bullet, Hero, and the main game loop—illustrates object‑oriented programming principles such as inheritance, interfaces, encapsulation, and event‑driven design for a simple desktop game.

Example CodeGame DevelopmentShooting Game
0 likes · 16 min read
Java Shooting Game Example Demonstrating OOP Concepts
MaGe Linux Operations
MaGe Linux Operations
Sep 15, 2017 · Fundamentals

Master Python OOP: Classes, Inheritance, and Object Lifecycle Explained

This article introduces Python's object‑oriented programming fundamentals, covering class definitions, class and instance variables, the __init__ constructor, the role of self, inheritance, method overriding, built‑in class attributes, garbage collection, and private members, complemented by illustrative code snippets.

Garbage CollectionPythonclasses
0 likes · 9 min read
Master Python OOP: Classes, Inheritance, and Object Lifecycle Explained
Java Captain
Java Captain
Aug 21, 2017 · Backend Development

10 Tips to Stand Out as a Java Developer

To distinguish yourself among Java developers, focus on mastering core OOP principles, essential APIs, continuous coding, community engagement, blog interaction, studying open‑source frameworks, tracking tech trends, maintaining reusable code snippets, understanding various development methodologies, and documenting your insights for sharing.

APIsAgileOpen-source
0 likes · 6 min read
10 Tips to Stand Out as a Java Developer
MaGe Linux Operations
MaGe Linux Operations
Jul 8, 2017 · Fundamentals

Master Python Basics: From Variables to Advanced OOP Techniques

This comprehensive guide walks experienced developers through Python fundamentals—including data types, control flow, functions, advanced features like generators and decorators, object‑oriented programming, modules, and debugging—providing concise examples and practical code snippets to deepen their expertise.

ModulesPythonoop
0 likes · 14 min read
Master Python Basics: From Variables to Advanced OOP Techniques
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Oct 20, 2016 · Fundamentals

From C to Java: Essential Steps for a Smooth Transition

This guide walks experienced C programmers through the key differences and best practices when moving to Java, covering syntax similarities, object‑oriented concepts, development tools, build systems, code conventions, exception handling, core libraries, design principles, and modern functional features.

C to JavaProgramming Transitionjava
0 likes · 8 min read
From C to Java: Essential Steps for a Smooth Transition
Qunar Tech Salon
Qunar Tech Salon
Mar 7, 2015 · Fundamentals

Object‑Oriented Design Principles and SOLID for Java Developers

This article introduces Java developers to essential object‑oriented design principles—including DRY, encapsulation, Open/Closed, SRP, DIP, composition over inheritance, LSP, and Interface Segregation—explaining their benefits, proper usage, and common pitfalls to help write high‑cohesion, low‑coupling code.

EncapsulationSOLIDdesign principles
0 likes · 10 min read
Object‑Oriented Design Principles and SOLID for Java Developers