SlideServe
Menu
Préférences
© SlideServe · v2026

Understanding Control Structures and Graphics in Java Development

topaz avatar
3 diapositives · 152 Views · Oct 12, 2014

This overview explores fundamental control structures in Java, including selection and repetition techniques essential for processing integers from a file. It introduces the use of graphics in Java applications, contrasting window-based applications with console applications, and emphasizes the importance of event handling. Additionally, it covers basic mathematical functions available in the `java.lang.Math` class, including converting degrees to radians and using the sine function. This is fundamental knowledge for Java developers beginning their journey.

Understanding Control Structures and Graphics in Java Development - slide 1
01 / 3Understanding Control Structures and Graphics in Java Development
1 / 17

Télécharger la présentation

Understanding Control Structures and Graphics in Java Development
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. An Example of Control Structures • Control structures (selection and repetition) • Read integers from a file • Graphics • Classes • Window-based app. vs. console app. • Event handling • Others

  2. Math Functions • There is a class called java.lang.Math • double radian=Math.PI/180.0; • double y=Math.sin(x);

  3. First Assignment • Control structures (selection and repetition) • Graphics