
Methods
Quiz
•
Computers
•
University
•
Medium

Elita Hajrizi
Used 19+ times
FREE Resource
Enhance your content
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Return Type e një metode mund të jetë e tipit:
String
boolean
int
Të gjitha
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A lejohen dy metoda me emrin e njejtë në Java?
Po
Jo
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Nëse numrat e shtypur në konzolë janë 5 dhe 6, cili do të jetë rezultati i këtij programi?
Shuma eshte: 5 + 6
Error
Shuma eshte: 11
5 + 6
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Si deklarohet një metodë që kthen fjalinë më të shkurtër dhe pranon si parametra dy numra?
public static boolean gjejFjaline(int a, int b){}
public static String gjejFjaline(int a, int b){}
public static String gjejFjaline(int a, b){}
public static String gjejFjaline(a, b){}
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Metoda duhet të ketë patjetër të paktën një parametër.
True
False
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Nëse në konzolë shtypen numrat 4 dhe 9, cili do të jetë rezultati i këtij programi?
Shuma eshte: 13
Shuma eshte: 4 + 9
Error
Shuma eshte: 22
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Çdo metodë duhet t'i takojë një klase në Java.
True
False
8.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Cilat janë opsionet e sakta për pjesët që mungojnë?
nr, "Numer Cift", "Numer Tek"
nr, true, false
numriPlote, true, false
numriPlote, "Numer Cift", "Numer Tek"
Similar Resources on Wayground
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
22 questions
FYS 2024 Midterm Review
Quiz
•
University
20 questions
Physical or Chemical Change/Phases
Quiz
•
8th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
12 questions
1 Times Tables
Quiz
•
KG - University
20 questions
Disney Trivia
Quiz
•
University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University