Looking for Course 5716 test answers and solutions? Browse our comprehensive collection of verified answers for Course 5716 at moodle.hftm.ch.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
Die folgenden beiden Codefragmente führen zum gleichen Ergebnis:
// Fragment 1String inputString = JOptionPane.showInputDialog("??");int input = Integer.parseInt(inputString);input++;
// Fragment 2int input = Integer.parseInt(JOptionPane.showInputDialog("??")) + 1;
Welche der folgenden Typdeklarationen für char ist korrekt?
Welche der folgenden Statements können fehlerfrei kompiliert werden?
Welche Exception tritt auf, wenn ein String nicht nach in einen int geparsed werden kann.
Wie wird der Typ entwickelt, wenn das Resultat eines Ausdrucks an einem temporären Speicherplatz abgelegt werden soll?
Der Java-Kompiler castet byte-, short- und char-Werte automatisch nach int
Implizites Type-Casting von kleineren Datentypen in grössere Datentypen ist in Java nicht erlaubt
Der Datentyp char kann nicht mehrere Zeichen speichern.
Ein short kann in welche der folgenden Datentypen ohne Datenverlust gecastet werden?
Welches ist die korrekte Ausgabe?
public static void main(String args[]) { String greet1 = "Hello"; String greet2 = "World"; String message2 = greet2 +" " +greet1 +" " +2016 +"!"; System.out.println(message2); }