public int plus(int x, int y): Was wird die Rückgabe dieser Methode sein?
Methoden in der Programmierung

Quiz
•
Computers
•
11th Grade
•
Easy

Barbara Messing
Used 2+ times
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Zwei ganze Zahlen, x und y.
Eine ganze Zahl.
Ein Pluszeichen.
Drei Zahlen: x, y und z.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int zähle (List<String> meine_liste): Welchen Datentyp hat der Rückgabewert?
List
void
int
string
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
void reset(int i) : Welchen Rückgabewert hat diese Methode?
int
string
i
keinen
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Wenn der Rückgabetyp "void" ist: Welcher Befehl fehlt dann im Methodenrumpf?
Das kann man so nicht sagen
return ...
... ToString()
public
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Wie heißt das "public" in public int plus(int x, int y)?
Rückgabewert
Eingabetyp
Name der Methode
Zugriffsmodifikator
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
return z; heißt was?
z wird neu initialisiert
der aktuelle Wert von z wird ausgegeben
z wird deklariert
z ist nicht zulässig hier
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Was braucht man für Datentypen, um die Anzahl der Elemente einer Liste zu bestimmen?
Eingabe: Text, Ausgabe: Liste
Eingabe: Text, Ausgabe: Liste
Eingabe: Liste, Ausgabe: ganze Zahl
Eingabe: ganze Zahl, Ausgabe: Liste
Create a free account and access millions of resources
Similar Resources on Quizizz
11 questions
S1-S5

Quiz
•
11th Grade
12 questions
Divide et Impera

Quiz
•
11th Grade - University
12 questions
AppsLab_Q3

Quiz
•
1st Grade - Professio...
9 questions
عناوين العمليات بلغة جافا

Quiz
•
10th Grade - University
17 questions
Java-Basics

Quiz
•
9th - 12th Grade
9 questions
Java Basics

Quiz
•
10th - 12th Grade
15 questions
Progamming - Java Syntax

Quiz
•
11th - 12th Grade
16 questions
Java OOP Test für die Q1

Quiz
•
11th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University