Here is a code of a structure. On that there is a BSTree function included on the structure. I am stuck because I do not understand how a func
I managed to create a scoped CSS class like this: .container { @import "./baa"; /* other props ... */ } but since @import is getting depreciated,
I'm trying to do this in my class: class Foo { _errorHappened = new Subject(); errorHappened = this._errorHappened.asObservable(); } I'm using a field'
Hi I'm working on a Vanilla JS SPA project, and I wanted to implement some principles from React, but just in plain JavaScript. But there is an issue with impo
I need some explanation about what have I done wrong and how to do it better. Sometimes it's difficult for me to understand everything. public class UserValidat
I have a super class FTM: class FTM: def __init__(self,word_weighting = 'normal'): self.word_weighting = word_weighting def get_sparse_glob
I have defined a class "Scraper" and the method "scraping" contained in it outputs a list with price information ("results"). My objects are several online shop
I am trying to run the official Java EE 7 Tutorial code examples and get the error. I have read about it here and most of the results say that you have to check
I've been trying to figure out how to do this most of the after noon, and I'm either not getting something, or I'm approaching things wrong. I'm currently worki
I have two methods inside a class (mask_im and save_im) that I must include in several other classes in separate modules. How can I create a class with those tw
I have two methods inside a class (mask_im and save_im) that I must include in several other classes in separate modules. How can I create a class with those tw
I have three classes and two of them inheriting from an Animal class, Carnivore class should have method to decrease health by 50 if I call the method on Herbiv
I would like to use Pool within a class, but there seems to be a problem. My code is long, I created a small-demo variant to illustrated the problem. It would b
I have created a window class using the win32 api. It creates a window, passing in this as a parameter so that I can create and grab the object instance inside
I finally upgraded my python version and I was discovering the new features added. Among other things, I was scratching my head around the new __init_subclass__
I'm having this problem which I'm not sure why it's caused. "class Account is public, should be declared in a file named Account.java" I have 5 classes in my
I'm creating a library, and one part of it requires a structured model. Let's say we have sections, and each section can have subsections (categories). All of t
I'm trying to print all the values from an object that inherits from a class, here is my example: I create the class: class Pokemon { var name: String? va
I am new to class programming. I am trying to save initial attributes (which are a dictionary) of my object in its history, and then update history with the cha
While I'm trying to obfuscate simple DataLoader.class file in ProGuard I get this error: Reading program directory [C:\Users\uzytkownik\Documents\NetBeansProje