Pular para o conteúdo

The Math Class

Introduzido
Material de apoio
Videoaula para este tópico Abrir a página do vídeo
15:00

Usando Objetos e Métodos

Aqui estão dois programas Java. O primeiro falta um ponto e vírgula. O segundo divide sete por dois e armazena a resposta em um número inteiro. O compilador para o…

Narração em inglês · legendas em inglês e 中文 que você pode alternar

Nesta aula

Videoaula
Vocabulário
English Significado
integer/ˈɪntɪdʒə/A whole number that may be positive, negative or zero.
Scaling
truncating
shifting
class/klæs/
library/ˈlaɪbrəri/A collection of reusable code, such as ready-made classes and methods, available for programs to use.
class methods
constants
import/ɪmˈpɔːt/To load a module or make its names available for use in a program.
object/ˈɒbdʒekt/An entity in a program with associated state and behaviour, often an instance of a class.
powers
roots/ruːts/
rounding/ˈraʊndɪŋ/
absolute value/ˈæbsəluːt ˈvæljuː/
input/ˈɪnpʊt/A value, signal or resource supplied to a function, program, device or process.
output type
square root/skweə ruːt/
upper bound/ˈʌpə baʊnd/A value that is greater than or equal to every value in the set being considered.
double/ˈdʌbl/
boundary behavior
NaN
static methods

Material de apoio

Entrar ou criar conta

IGCSE, A-Level & AP