logo

Crowdly

Browser

Add to Chrome

Course 5716

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!

Das Gleichheitszeichen (=) wird für eine Zuweisung verwendet, der Operator == hingegen für einen Vergleich, der einen Boole'schen Wert zurückgibt.

100%
0%
View this question

Was ist die Ausgabe?

public static void main(String[] args) {

   int alter = 43;

   if (alter == 43){

     System.out.print("Bob ist 43 ");

   }

   if (alter <= 50){

     System.out.print("Bob ist 50 ");

   }

}
View this question

Welche AussageNein sind richtig?

View this question

Was wird ausgegeben?

public static void main(String[] args) {

   String name = "Java";

   String language = "Programming";

   String fullName = name + language;

   boolean test = fullName.equals(name + language);

   System.out.println(test);

}
View this question
public static void main(String args[]) {

   char grade ='E';

   if (grade == 'A') {

      System.out.println("Super Leistung");

   }else if (grade == 'B') {

      System.out.println("Gute Leistung");

   }else if (grade == 'C') {

   System.out.println("Durchschnittliche Leistung");

   }else {

      System.out.println("Unterdurchschnittliche Leistung");

   }

}
View this question

Was kann in einem Boole'schen Ausdruck verwendet werden?

View this question

Welches sind mögliche Werte einer boolean-Variable?

50%
View this question

Was muss erfüllt sein, damit ein Boole'scher Ausdruck, der den &&-Operator verwendet, true ergibt?

boolean x = (ersteBedingung && zweiteBedingung)
View this question

Import-Anweisungen stehen oberhalb der Klassendefinition.

100%
0%
View this question

In Java werden die Eigenschaften/Attribute in einer Methode gruppiert.

50%
50%
View this question

Want instant access to all verified answers on moodle.hftm.ch?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome