Tag: class

59 votes
4 answers
2.6K views
Is MATLAB OOP slow or am I doing something wrong?

I'm experimenting with MATLAB OOP, as a start I mimicked my C++'s Logger classes and I'm puttin

avatar
Benton
0 1 0 9
asked 07 September, 2021
46 votes
0 answers
3K views
How to fetch values from same class and print w/o excel?

enter image description here Ho do I get the values of all the % (like -76%,88%..and so on) using night watch

avatar
Charis
0 1 0 9
asked 07 September, 2021
62 votes
2 answers
1.6K views
Jython CLASSPATH, sys.path and JDBC drivers

How can I add JDBC drivers at runtime to Jython? Using CLASSPATH works, but using sys.path doesn't work w

avatar
Hilario
0 1 0 9
asked 07 September, 2021
60 votes
4 answers
2.2K views
How can I add jars to the classpath when I invoke Jython *without* adding them to $CLASSPATH?

I'd like to do something similar to jython -cp FOO:BAR:BAZ argle.py. If I add FOO, BAR, and BAZ to $CLAS

avatar
Majorie
0 1 0 9
asked 07 September, 2021
55 votes
21 answers
417 views
React Js conditionally applying class attributes

I want to conditionally show and hide this button group depending on what is passed in from the parent compone

avatar
Chelsea
0 1 0 9
asked 07 September, 2021
54 votes
7 answers
3.1K views
How to loop through all the properties of a class?

I have a class. Public Class Foo Private _Name As String Public Property Name() As String Get

avatar
Winford
0 1 0 9
asked 07 September, 2021
71 votes
9 answers
2K views
Static vs class functions/variables in Swift classes?

The following code compiles in Swift 1.2: class myClass { static func myMethod1() { } class func

avatar
Stacia
0 1 0 9
asked 07 September, 2021
52 votes
17 answers
3K views
Why Choose Struct Over Class?

Playing around with Swift, coming from a Java background, why would you want to choose a Struct instead of a C

avatar
Juliane
0 1 0 9
asked 07 September, 2021
53 votes
11 answers
2.8K views
Adding multiple class using ng-class

Can we have multiple expression to add multiple ng-class ? for eg. <div ng-class="{class1: expressionData

avatar
Don
0 1 0 9
asked 07 September, 2021
65 votes
7 answers
1.7K views
Understanding Python super() with __init__() methods

I'm trying to understand the use of super(). From the looks of it, both child classes can be created,

avatar
Nidia
0 1 0 9
asked 07 September, 2021
60 votes
23 answers
3.1K views
What are metaclasses in Python?

In Python, what are metaclasses and what do we use them for?

avatar
Boyd
0 1 0 9
asked 07 September, 2021
63 votes
14 answers
2.1K views
What is C# analog of C++ std::pair?

I'm interested: What is C#'s analog of std::pair in C++? I found System.Web.UI.Pair class, but I&apo

avatar
Virgil
0 1 0 9
asked 07 September, 2021
53 votes
30 answers
1.9K views
What does "Could not find or load main class" mean?

A common problem that new Java developers experience is that their programs fail to run with the error message

avatar
Xavier
0 1 0 9
asked 07 September, 2021
55 votes
30 answers
1.8K views
How to fix java.lang.UnsupportedClassVersionError: Unsupported major.minor version

I am trying to use Notepad++ as my all-in-one tool edit, run, compile, etc. I have JRE installed, and I have

avatar
Trudy
0 1 0 9
asked 07 September, 2021
57 votes
27 answers
1.4K views
Java inner class and static nested class

What is the main difference between an inner class and a static nested class in Java? Does design / implementa

avatar
Stacia
0 1 0 9
asked 07 September, 2021
59 votes
17 answers
1.4K views
What is stdClass in PHP?

Please define what stdClass is.

avatar
Shantay
0 1 0 9
asked 07 September, 2021
55 votes
23 answers
1.3K views
When should I use &apos;self&apos; over &apos;$this&apos;?

In PHP 5, what is the difference between using self and $this? When is each appropriate?

avatar
Georgie
0 1 0 9
asked 07 September, 2021