Objektorientierte Programmierung in JavaopenHPI-Java-Team

This video belongs to the openHPI course Objektorientierte Programmierung in Java. Do you want to see more?

Deep Dive: Best Practices

Time effort: approx. 14 minutes

An error occurred while loading the video player, or it takes a long time to initialize. You can try clearing your browser cache. Please try again later and contact the helpdesk if the problem persists.

About this video


Folie 7: Der Datentyp muss ein double oder float sein, damit eine Fließkommazahl gespeichert werden kann. Die zweite Zeile muss also wie folgt lauten:

private static final double PACOS_WEIGHT_IN_KILOGRAM = 1.337;