Top "Class" questions

A template for creating new objects that describes the common state(s) and behavior(s). NOT TO BE CONFUSED WITH CSS CLASSES.

Tools for creating Class Diagrams

Please suggest tools for creating Class Diagrams with the following criteria: It should be platform-independent because I use Linux and …

class diagram
Private class declaration

Possible Duplicate: Java: Why can we define a top level class as private? Why can't we declare a private outer …

java class private
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 …

swift class struct design-principles
Static vs class functions/variables in Swift classes?

The following code compiles in Swift 1.2: class myClass { static func myMethod1() { } class func myMethod2() { } static var myVar1 = "" } func doSomething() { myClass.…

function class swift variables static
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 Return _Name End …

.net vb.net class reflection properties
Java Generics Wildcarding With Multiple Classes

I want to have a Class object, but I want to force whatever class it represents to extend class A …

java class generics bounded-wildcard
Can a java file have more than one class?

What is the purpose of having more than one class in a Java file ? I am new to Java. Edited: …

java class
Check if a Class Object is subclass of another Class Object in Java

I'm playing around with Java's reflection API and trying to handle some fields. Now I'm stuck with identifying the type …

java class reflection
JavaScript CSS how to add and remove multiple CSS classes to an element

How can assign multiple css classes to an html element through javascript without using any libraries?

javascript html css class append
Difference between a class and a module

I came from Java, and now I am working more with Ruby. One language feature I am not familiar with …

ruby class module