
Kuizi 7.2
Authored by Naim Llumnica
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Metoda str.equals(str2) krahason përmbajtjen e dy stringjeve dhe nuk është case-sensitive.
True
False
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Operatorët logjik AND dhe OR ekzekutohen nga e majta në të djathtë, duke respektuar prioritetin e tyre.
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Deklaratat if dhe else në Java duhet të kenë gjithmonë një bllok të hapur dhe të mbyllur me kllapa {}.
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Nëse një shprehje logjike përmban operatorin ||, shprehja ekzekutohet vetëm deri sa të gjendet një vlerë true.
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Metoda str.contains(str2) mund të kthejë një gabim nëse str2 është null.
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cila është mënyra më e saktë për të krahasuar përmbajtjen e dy stringjeve?
str.startsWith(str2)
str.contains(str2)
str.equals(str2)
str.compareTo(str2)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cili nga operatorët e mëposhtëm përdoret për të kombinuar dy kushte që të dyja duhet të jenë true?
||
&&
!
=
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?