1) Which of the following names is suitable as a variable name? a) A_2 b) D-3 c) 5B 2) In Java, it is possible to write a multi-line comment using? a) /* ..........*/ b) // c) //-----* 3) What does this code print? System.out.println("Welcome " + "to " + "java " + 101); a) Welcome to java 101 b) Welcome " + "to " + "java " + 101 c) Welcome " "to " "java " 4) Which of the following expressions is correct? a) int x=7.5 ; b) float y=88.0 c) char z="a" 5) what is the output of the code in the picture? a) 5 + 10 = 15 b) 15 c) sum(10, 5) 6) Can you write a program in Java that uses a function and when called, multiplies two values x and y? a) If you can, write it and send it on WhatsApp to Dr. Omar b) If you can't...tell Dr. Omar to re-explain this point?
0%
JAVA
Delen
Delen
Delen
door
Moa788947
Inhoud Bewerken
Afdrukken
Embedden
Meer
Toewijzingen
Scorebord
Meer weergeven
Minder weergeven
Dit scoreboard is momenteel privé. Klik op
Delen
om het publiek te maken.
Dit scoreboard is uitgeschakeld door de eigenaar.
Dit scoreboard is uitgeschakeld omdat uw opties anders zijn dan die van de eigenaar.
Opties Herstellen
Quiz
is een open template. Het genereert geen scores voor een scoreboard.
Inloggen vereist
Visuele stijl
Lettertypen
Abonnement vereist
Opties
Template wisselen
Alles weergeven
Er zullen meer templates verschijnen terwijl je de activiteit gebruikt.
Open resultaten
Kopieer link
QR-code
Verwijderen
Automatisch opgeslagen activiteit "
" herstellen?