
Auditorna 1

Quiz
•
Computers
•
University
•
Medium
Ana Radović
Used 2+ times
FREE Resource
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Koja je ispravna deklaracija main metode?
public static main void(String[] args) { }
public void main(String[] args) { }
public static void main(String[] args) { }
public void main(String[] args) { }
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Koji je pravilno parsirani String?
int x = Integer.parse("123")
int x = int.parseInt("123")
int x = int.parse("123")
int x = Integer.parseInt("123")
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Koja je ispravna deklaracija polja?
int[] x = new int[3];
int x[] = new int[3];
int x = new int[3];
int[] x = new int[3]();
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Što će ispisati ovaj kod:
public static void main(String[] args) {
int[] x = new int[3];
System.out.println(x[1]);
}
NaN
0
Nasumični broj
1
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
{...
double broj = 2.0;
double noviBroj = broj;
...}
Što je stvorio operator = ?
Referencu na objekt u stogu
Referencu na objekt na hrpi
Novi objekt na stogu
Novi objekt na hrpi
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
{...
double broj = 2.0;
double noviBroj = broj.clone();
...}
Što je stvorila metoda clone?
Referencu na objekt u stogu
Referencu na objekt na hrpi
Novi objekt na stogu
Novi objekt na hrpi
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
{...
double broj = 2.0;
broj = 2.4;
...}
Što se stvorilo na stogu?
Dva doublea, 2.0 i 2.4
Samo double 2.0
Samo double 2.4
Double 2.0 koji je promijenjen u 2.4
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
C++ Quiz

Quiz
•
University
20 questions
C - Structures

Quiz
•
University
17 questions
2.TR - 2.12.2024. - 01

Quiz
•
10th Grade - University
20 questions
Java - Revisão I

Quiz
•
University
20 questions
Java Coding Questions

Quiz
•
University
15 questions
C++ data types

Quiz
•
University
13 questions
Python: Strings, listas, tuplas y más

Quiz
•
University
18 questions
Array_to be discussF3

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade