Movatterモバイル変換


[0]ホーム

URL:


Sorry, we no longer support your browser
Please upgrade toMicrosoft Edge,Google Chrome, orFirefox. Learn more about ourbrowser support.
Skip to main content
Stack Overflow
  1. About
  2. For Teams
Loading…
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives
62,292 questions
Filter by
Sorted by
Tagged with
-2votes
0answers
109views

What is lazy copy in java? Someone please explain it with an example [closed]

What is lazy copy in Java? I am confused about lazy copy in Java. When we have shallow and deep copies, then why do we need lazy copy?I tried to understand the difference between shallow copy and ...
Neeta Purohit's user avatar
0votes
0answers
88views

In C#, is an instance of a struct really an object? [duplicate]

I’ve been working with C# for 4 months. I’ve gained some experience, good and bad. Lately, I wanted to focus more on the concept of objects.There’s a very important point that has been bothering me. ...
0votes
1answer
198views

Organize the mapping of class properties to render the list of plain text first, and embed the corresponding image in the existing list

An exception occurred while iterating over the results of a query for context type 'MyProject.Data.SQLServer.SQLServerContext'.System.InvalidOperationException: The required column 'img' was not ...
DevQt's user avatar
  • 1,879
-4votes
4answers
160views

How to update string attributes to object instances if they exist [closed]

I'm trying to use a for loop to iterate through a set of objects, check if those objects store string data (specifically their 'Pokemon.evolution' variable) which is the same as a the name of one of ...
mycode.exe's user avatar
0votes
0answers
29views

Indesign JS : Create a class or an object that can make instances of, with unique internal values?

Is this possible? How?Basically I want to create a class or an 'blue print' object with properties that can hold individual values?How would I write a 'blue print' that has property of color, name ...
Michael's user avatar
0votes
1answer
47views

What are the "set of values" for a user-defined type (UDT) in OOP languages?

I’m a PHP programmer looking to deepen my theoretical understanding of computer science concepts, specifically Abstract Data Types (ADTs) in the context of object-oriented programming (OOP).And my ...
3votes
2answers
94views

How to write a constructor in F# of a class derived from an abstract class?

I have in an F# an abstract class and some derived classes. When instantiating derived classes, I would like to initialize a mutable property defined in the abstract class in the respective ...
bookofproofs's user avatar
0votes
1answer
57views

How can I forbid method redefenition in TCL OO class?

I would like that method redefenition would result in failure and script execution stop. Like any other common error.In the following example I want to see that method print cannot be redefined.oo::...
0votes
2answers
55views

Modular approach to dynamically extending class behavior in JavaScript without modifying the original class

I'm trying to create independent modules in JavaScript where I can add new functionality without modifying the original class.My simplified version:class adminMenu extends contextMenu { ...
EpicFrog2000's user avatar
-1votes
1answer
94views

Why doesn’t method overriding in Python affect the base class instance?

I'm a bit confused about how method overriding works in Python.Let's say I have a base class with a method, and I override that method in a subclass. When I call the method from the subclass, the ...
3votes
0answers
87views

C++'s virtual methods implementation in C [duplicate]

In C++, I can create an array of pointers to a base class and call overridden methods, my goal is to mimic this type of behavior:Animal* zoo[3];zoo[0] = new Cat("Whiskers");zoo[1] = new ...
Berserk0204's user avatar
1vote
2answers
67views

Class reduction in OOP (as opposite to extension). Is it exists?

Usually in OOP we create class hierarchiesclass A{ //base class consists of field and methodint a;void methodA(){}}class B extends A{ //derived class extends base classint b; //additional field...
TomatOgorodow's user avatar
0votes
1answer
31views

Gateways design in a react native app with TDD approch and clean architecture principles

I'm currently developing a mobile app for booking overnight accommodations in React Native. I'm currently developing the "book accommodation" functionality and I'm running into a design ...
3votes
1answer
40views

How do I list the inherited abstractmethods of an abstract subclass in Python?

How can I see the attributes inherited by an abstract class subclassing from another?For example:class MammalAbstract(ABC): @abstractmethod def legs(self): passclass ...
tlskr's user avatar
0votes
0answers
78views

I'm attempting to simplify my dependencies by using a struct to hold and declare references to my classes, but I am getting non-descript errors

I am using a struct called AppContext inside a file named dependecies. It is precompiled in the header pch.h. I am using CMake to handle all my classes and what not.Everything was working until I ...

153050per page
1
2345
4153

Hot Network Questions

more hot questions
Newest oop questions feed

[8]ページ先頭

©2009-2025 Movatter.jp