OCA Java SE 8 Exam

Description

Flashcards on OCA Java SE 8 Exam, created by Guilherme Benner Martelli on 23/08/2017.
Guilherme Benner Martelli
Flashcards by Guilherme Benner Martelli, updated more than 1 year ago
Guilherme Benner Martelli
Created by Guilherme Benner Martelli almost 7 years ago
5
0

Resource summary

Question Answer
addition operator +
subtraction operator -
not operator !
multiplication operator *
division operator /
modulus operator %
Shift left operator <<
Shift Right Operator >>
zero fill shift right operator >>>
What is the data type of x*y? int x = 1; long y = 33; long
What is the data type of x+y? double x = 39.21; float y = 2.1; Does not compile!
What is the data type of x+y? double x = 39.21; float y = 2.1f; double
What is the data type of x/y? short x = 10; short y = 3; Int
What is the data type of x*y/z? short x = 14; float y = 13f; double z = 30; Double
boolean z != 0; Does not compile.
int x = 3; int y = ++x*5/x--+--x; x? y? x=2; y=7; y = 4*5/4+2;
Show full summary Hide full summary

Similar

CONTABILIDADE
Naryane Rocha
Estudo dirigido - cap 1 - fichamento
Brenda Pereira
Gramática Cap 1 - O que é Gramática? (SAS)
Gabriel Leite
Título III Direitos/Vantagens
Felipe Buongermino
Origem da vida
samuellm8
Bioquimica clinica transporte de gases
Kelly Bicalho
The Great Gatsby: Chapter Summaries
Andrew_Ellinas
STEM AND LEAF DIAGRAMS
Elliot O'Leary
Exchange surfaces and breathing
megan.radcliffe16
Physics 1
Peter Hoskins
1PR101 2.test - Část 9.
Nikola Truong