Answer:
The answer is "Option b".
Explanation:
In the given code, a static method "inCommon" is declared, that accepts two array lists in its parameter, and inside the method two for loop is used, in which a conditional statement used, that checks element of array list a is equal to the element of array list b. If the condition is true it will return the value true, and if the condition is not true, it will return a false value. In this, the second loop is not used because j>0 so will never check the element of the first element.
<span>GUI is a graphical user interface. It is a graphical window that provides interaction with the user.
</span>The button is a pushbutton, which can be pressed to trigger an action.<span>
A graphic control component or a control element is a component that provides a button control in a GUI application. It is also called a control element because it </span><span>is an element of interaction between the user controlling the application.</span>
Answer:
i think it helps
Explanation:
sorry there was someone else rude as heck messaging and responding I couldn't see their screen name
what isig naame
oh okay
I have sent dm
i dont know your name there
Answer:
how many times as strong would what?
put your question in the replies to this answer and I'll gladly answer it
Explanation:
May I have brainliest please? :)
Answer:
mystr = input("Enter a string ")
length = len(mystr)
while length<10:
mystr = input("Enter a string ")
length = len(mystr)
if(length>=10):
break
if len(mystr)%2==0:
print(mystr.lower())
else:
print(mystr.upper())
Explanation:
The variable mystr is used to save user's input which is received with the input function
A second variable length is used to save the length of the input string Using a while statement the user is continually prompted to enter a string while length is less than 10.
If length is greater or equal to 10. We check for even or odd using the modulo (%) operator.
We use lower() and upper() to change the case of the string