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

Java32

Quiz
•
Science
•
5th Grade
•
Hard
Анна Кот
Used 18+ 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 Wayground
15 questions
MicroBit Programming Quiz

Quiz
•
5th Grade - University
20 questions
інтернет повторення

Quiz
•
5th Grade
11 questions
Sound Study Guide

Quiz
•
4th - 5th Grade
15 questions
Pendulums

Quiz
•
5th Grade
20 questions
5TH GRADE FORMS OF ENERGY

Quiz
•
3rd - 5th Grade
20 questions
5th Grade Light and Sound

Quiz
•
5th Grade
12 questions
Science. Екологічні системи

Quiz
•
5th Grade
15 questions
Sound Energy

Quiz
•
3rd - 5th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade