До змінної з яким типом даних можна зберегти число 1.5 ?

Java32

Quiz
•
Science
•
5th Grade
•
Hard
Анна Кот
Used 17+ times
FREE Resource
16 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
float
short
int
char
double
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Якщо double y = 2.7, а int x = y, то що збережеться в x?
2.7
3
2
7
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Виберіть правильний варіант запису метода
public int sum(int a, int b){return a + b;}
public sum(int a, int b){return a + b;}
public void sum(int a, int b){return a + b;}
public int sum(a, b){return a + b;}
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Виберіть правильний варіант запису метода
public int print(int x){System.out.println(x);}
public void print(int x){System.out.println(x);}
public int print(int x){ return System.out.println(x);}
public void print(){System.out.println(x);}
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Який із модифікаторів надає доступ до методу / властивості в будь-якому місці програми?
public
private
static
protected
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Який із модифікаторів надає доступ до методу / властивості тільки в межах класу?
public
private
static
protected
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Як називається функція, яка дозволяє встановити значення "захищеної" властивості?
гетер
сетер
модифікатор
конструктор
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
ASK Form 2-Kod Arahan

Quiz
•
4th - 6th Grade
11 questions
Речовини. Атоми і молекули.

Quiz
•
5th Grade
12 questions
SC.5.P.10.3 & 11.1

Quiz
•
5th Grade
15 questions
Pendulums

Quiz
•
5th Grade
15 questions
Practice with Pitch

Quiz
•
5th Grade
20 questions
5th Grade Light and Sound

Quiz
•
5th Grade
20 questions
PH Prakarya 1

Quiz
•
1st - 10th Grade
16 questions
java36

Quiz
•
5th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade