Презентация Conditional statements. Java Core онлайн

На нашем сайте вы можете скачать и просмотреть онлайн доклад-презентацию на тему Conditional statements. Java Core абсолютно бесплатно. Урок-презентация на эту тему содержит всего 28 слайдов. Все материалы созданы в программе PowerPoint и имеют формат ppt или же pptx. Материалы и темы для презентаций взяты из открытых источников и загружены их авторами, за качество и достоверность информации в них администрация сайта не отвечает, все права принадлежат их создателям. Если вы нашли то, что искали, отблагодарите авторов - поделитесь ссылкой в социальных сетях, а наш сайт добавьте в закладки.



Оцените!
Оцените презентацию от 1 до 5 баллов!
  • Тип файла:
    ppt / pptx (powerpoint)
  • Всего слайдов:
    28 слайдов
  • Для класса:
    1,2,3,4,5,6,7,8,9,10,11
  • Размер файла:
    0.97 MB
  • Просмотров:
    65
  • Скачиваний:
    0
  • Автор:
    неизвестен



Слайды и текст к этой презентации:

№1 слайд
Conditional statements Java
Содержание слайда: Conditional statements Java Core

№2 слайд
Agenda Operators Conditional
Содержание слайда: Agenda Operators Conditional statements Enum Comparing objects JUnit Practical tasks

№3 слайд
Arithmetic operators Simple
Содержание слайда: Arithmetic operators Simple Assignment Operator = Simple assignment operator

№4 слайд
Unary Operators
Содержание слайда: Unary Operators

№5 слайд
Equality and Relational
Содержание слайда: Equality and Relational Operators Equality and Relational Operators == Equal to != Not equal to > Greater than >= Greater than or equal to < Less than <= Less than or equal to

№6 слайд
Conditional Operators The amp
Содержание слайда: Conditional Operators The && and || operators perform Conditional-AND and Conditional-OR operations on two boolean expressions. && Conditional-AND || Conditional-OR

№7 слайд
Ternary Operator ?
Содержание слайда: Ternary Operator ? :

№8 слайд
Statement if
Содержание слайда: Statement if

№9 слайд
switch switch expression case
Содержание слайда: switch switch (expression) { case const-expr1 : statement(s); break; case const-expr1 : statement(s); break; default : statement(s); break; }

№10 слайд
Example
Содержание слайда: Example

№11 слайд
Enum
Содержание слайда: Enum

№12 слайд
Example Season season ...
Содержание слайда: Example Season season; ... switch (month) { case "Desember": case "January": case "February": season = Season.WINTER; break; case "Marth": case "April": case "May": season = Season.SPRING; break; case "June": case "Jule": case "August": season = Season.SUMMER; break; case "September": case "October": case "November": season = Season.AUTUMN; break; default: System.out.println("No this month"); System.exit(0); }

№13 слайд
Comparing objects public
Содержание слайда: Comparing objects public class Student { private String name; private int age; public Student(String name, int age) { this.name = name; this.age = age; } getters, setters ... }

№14 слайд
hashCode
Содержание слайда: hashCode

№15 слайд
equals
Содержание слайда: equals

№16 слайд
JUnit Framework JUnit is a
Содержание слайда: JUnit Framework JUnit is a unit testing framework for the Java programming language. JUnit has been important in the development of test-driven development, and is one of a family of unit testing frameworks collectively known as xUnit that originated with SUnit.

№17 слайд
Testing Problems Programmers
Содержание слайда: Testing Problems Programmers should write tests As you probably know programmers always busy, and they have no time to write tests They need some tool that can help them Main requirements for this tool: A few lines of code then test should run To write test that won’t run, then write the code that will make run

№18 слайд
JUnit plugin for Eclipse IDE
Содержание слайда: JUnit plugin for Eclipse IDE Mr. Erich Gamma who is a one of developers of JUnit framework also known as a Eclipse IDE developer JUnit well integrated into Eclipse IDE

№19 слайд
JUnit assertion methods
Содержание слайда: JUnit assertion methods

№20 слайд
Содержание слайда:

№21 слайд
Содержание слайда:

№22 слайд
Class Calc public class Calc
Содержание слайда: Class Calc public class Calc { public int add(int a, int b) { return a + b; } public int div(int a, int b){ return a / b; } }

№23 слайд
Class CalcTest import static
Содержание слайда: Class CalcTest import static org.junit.Assert.*; import org.junit.Test; public class CalcTest { Calc calc = new Calc(); @Test public void testAdd() { assertTrue(calc.add(1, 5) == 6);} @Test public void testDivPositive() { int actual = 4; int expected = calc.div(9, 2); assertEquals(actual, expected); } @Test(expected = Exception.class) public void testDivZero() { int actual = calc.div(23, 0); } }

№24 слайд
Practical tasks Enter three
Содержание слайда: Practical tasks Enter three numbers. Find out how many of them are odd. Enter the number of the day of the week. Display the name in three languages. Enter the name of the country. Print the name of the continent. (Declare enum with names of continents) Create class Product with fields name, price and quantity. Create four instances of type Product. Display the name and quantity of the most expensive item. Display the name of the items, which has the biggest quantity.

№25 слайд
HomeWork online course UDEMY
Содержание слайда: HomeWork (online course) UDEMY course "Java Tutorial for Complete Beginners": https://www.udemy.com/java-tutorial/ Complete lessons 10, 11, 13:

№26 слайд
Unit Testing with JUnit Short
Содержание слайда: Unit Testing with JUnit Short step-by-step online course: https://www.udemy.com/junit-tutorial-for-beginners-with-java-examples/learn/v4/overview

№27 слайд
Homework Solve the next tasks
Содержание слайда: Homework Solve the next tasks: read 3 float numbers and check: are they all belong to the range [-5,5]; read 3 integer numbers and write max and min of them; read number of HTTP Error (400, 401,402, ...) and write the name of this error (Declare enum HTTPError) Сreate class Dog with fields name, breed, age. Declare enum for field breed. Create 3 instances of type Dog. Check if there is no two dogs with the same name. Display the name and the kind of the oldest dog. *Add Unit Tests to each task, publish code on GitHub

№28 слайд
The end
Содержание слайда: The end

Скачать все slide презентации Conditional statements. Java Core одним архивом: