Questions tagged as 'classes'

2
answers

What is the difference between a class and an object?

I was reading a book on object orientation and these two entities are treated differently. What's the difference between the two?     
asked by 28.11.2015 / 00:49
2
answers

What does '~' mean in front of the constructor of a C #

Working on a project here in the company, I came across some commands that are now being used the most ( yield , ?? , anonymous type ) but until I understood, but one that caught my attention because I did not know the what is....
asked by 12.03.2014 / 20:56
6
answers

Is there a JavaScript class?

I'm studying JavaScript and saw some explanations that left me with doubts. Here in StackOverflow I saw several questions about whether to create an abstract class in JavaScript. But my question is: Is it possible to create a class in JavaSc...
asked by 15.01.2016 / 17:55
1
answer

When and how to implement Parcelable vs. Serializable?

After much time using the Serializable implementation in my classes on the Java platform (Android), I discovered Parcelable, but I was in doubt about the following issues below: 1. When to use (choose from) Parcelable vs. Serializable? 2....
asked by 29.10.2014 / 02:34
4
answers

Is it possible to create an 'abstract class' in Javascript?

When creating a Javascript class whose attributes and methods are all static (for example, for storing predefined settings for a game), I would like to know if it is possible to define the class as abstract in a similar way as it can be (where t...
asked by 14.01.2014 / 02:05
5
answers

Difference between private and final methods

Studying final methods and classes in the book "Programming in Java 6 ed." of Deitel I came across the following proposition:    The methods declared private are implicitly final, because it is impossible to overwrite them in a subclass (alt...
asked by 30.11.2015 / 12:22
3
answers

Where to create your own class, and how to instantiate it later?

I have a class of its own (i.e. external to the standard libraries of PHP and Laravel) that makes some connections with equipment of my network and in addition I need to create notifications routines by email and SMS. For reference, this is...
asked by 15.01.2014 / 19:17
2
answers

When and why should I use Class T class classes in Java?

When I see that a class gets it, I find it scary.     
asked by 04.02.2016 / 18:31
3
answers

Why can not I declare an attribute using the keyword var?

The var keyword allows me to declare typed variables, and allows the variables to be defined implicitly. Example: var i = 10; The compiler will assume that my variable i is integer type int . So, why does not...
asked by 11.02.2016 / 00:34
4
answers

Software to create Class Diagram [closed]

I would like to know what softwares are used or if there is any online site to create class diagrams, could anyone tell me?     
asked by 11.10.2016 / 20:10