Passer au contenu

The Math Class

Introduit
Fiche de cours
Leçon vidéo pour ce sujet Ouvrir la page vidéo
15:00

Utilisation d'objets et de méthodes

Voici deux programmes Java. Le premier manque d'un point-virgule. Le second divise sept par deux et stocke la réponse dans un nombre entier. Le compilateur arrête le…

Narration en anglais · sous-titres en anglais et en 中文 au choix

Dans cette leçon

Leçon vidéo
Vocabulaire
English Sens
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

Fiche de cours

IGCSE, A-Level & AP