# Questions tagged as 'tipagem'

1

## When to use Supertype or Subtype on return method?

Suppose I have a method called " meuMetodo() " that returns an Object of type ArrayList<String> , I can make this method declare that it returns more concrete or more abstract types:    public ArrayList<String> meu...
3

## Check if int is "null" in C #

In C # it is not possible to assign null to an integer value ( int , not int? ). However, how can I tell if an integer value ( int ) has not yet had an assigned value (being int )? int? valor; if (valor == nul...
1

## Why is the expression (double.MinValue == double.MinValue + 1) true?

The following C # code: public class Program { public static void Main(string[] args) { //Your code goes here Console.WriteLine(double.MinValue == double.MinValue + 1); Console.WriteLine(int.MinValue == int.MinV...
1

## Relation of Java types or another language with processor architecture

In Java you have the primitive types: int and float , which hold a maximum of 32 bits of information, and also have long and double types that hold 64 bits of information. Does this have or could have anything to do...
1

## What does a double-precision variable mean?

I would like to understand the meaning of a double-precision variable.
1

## Rounding as a result of multiplication

I have this scenario:  - do a multiplication of 2 values that will be rounded to 2 boxes for the table that will be inserted its result. Follow the example: CREATE TABLE #TMP ( A DECIMAL(23,6), B DECIMAL(28,2) ) INSERT INTO #TMP VAL...
1

## How does dynamic typing work in Python 3.x?

I'm new to Python and I had a question when I solved Exercise 1001 of Uri Online (read A and B, assign sum to X and print), when writing the following code, I received concatenation: a = input() b = input() x = a + b print ("x = ", x) Whe...
1

## What is the difference between the concept of static and dynamic typing and the concept of strongly and weakly typed? [duplicate]

There is some confusion about the concept of programming languages with static and dynamic typing and the concept of strongly and poorly typed programming languages. For example, by my understanding Python is a dynamic typed language...
3