Siddharthsiddharthqs.com·9 hours agoTraitsTraits are the most important topic to understand the design patterns in Rust. Traits are fundamental feature in Rust that provide a way for shared behavior, abstraction and polymorphish. You can think of traits as interfaces in other programming la...Discuss·1 likeRust
Arnab Bhowmikblog.thearnab.tech·a day agoPYQ- SolutionsQ.1 “Java is platform independent” , Is this True? Justify or contradict your statement. Yes, Java is platform-independent. This is one of its key strengths, enabling "Write Once, Run Anywhere" (WORA) functionality. Here's how it works: Compilation:...DiscussOOPM SprintObject Oriented Programming
Arnab Bhowmikblog.thearnab.tech·Nov 19, 20241.2 Objects , Classes , Data Abstraction , Encapsulation & InheritanceObject-Oriented Programming Object-oriented programming (OOP) is a way to organize and conceptualize a program as a set of interacting objects. The programmer defines the types of objects that will exist. The programmer creates object instances as...DiscussOOPM SprintObject Oriented Programming
Arnab Bhowmikblog.thearnab.tech·Nov 18, 20241.Fundamentals of Object oriented Programming1.1-Introduction, Basic Program Construction Unstructured Programming Unstructured Programming is a type of programming that generally executes in sequential order i.e., these programs just not jumped from any line of code and each line gets execut...DiscussOOPM SprintJava
Hitesh Venugopalanwatch-me-dev.hashnode.dev·Nov 16, 2024Understanding JavaScript Classes: A Beginner's GuideIn simple terms, a class in JavaScript is like a recipe or blueprint for creating objects. It bundles together the data (called properties) and actions (called methods) that those objects will have. The object I mention here is different from the dat...DiscussJavaScript
Mohammed Shakeelmaster-java.hashnode.dev·Nov 15, 2024Enums in JavaIn Java, an enum (short for enumeration) is a special type of class that represents a collection of constants (unchangeable variables, like final variables). Enums are used to define a set of named constants that are often related and can be used to ...DiscussJava
Mohammed Shakeelmaster-java.hashnode.dev·Nov 15, 2024Object Cloning in JavaIn Java, object cloning refers to the process of creating a duplicate copy of an object. This allows you to create a new object with the same state (i.e., field values) as the original object. Cloning is particularly useful in scenarios where you wan...DiscussJava
Mohammed Shakeelmaster-java.hashnode.dev·Nov 15, 2024Inner Classes and Anonymous Classes in JavaIn Java, inner classes and anonymous classes are mechanisms that allow you to define classes within other classes. These classes provide significant advantages in terms of readability, encapsulation, and flexibility in various scenarios. While both t...DiscussJava
Mohammed Shakeelmaster-java.hashnode.dev·Nov 15, 2024Composition vs Inheritance in JavaIn Java, Composition and Inheritance are two fundamental concepts used to create relationships between classes, and they each have distinct advantages and use cases. While both allow for code reuse and the creation of flexible systems, choosing betwe...DiscussJava
Mohammed Shakeelmaster-java.hashnode.dev·Nov 15, 2024Abstract Classes and Interfaces in JavaAbstract Classes and Interfaces are two fundamental concepts in Java that are crucial for achieving abstraction in object-oriented programming (OOP). These concepts allow you to define classes and methods that are meant to be implemented by other cla...DiscussJava