Types and keyboard input

  • 3
  • Nem érhető el
Types and keyboard input

3
Felmérés/kvíz
, szint , lecke
Nem érhető el
Types and keyboard input
Types and keyboard input
Hozzászólások (21)
  • Népszerű
  • Új
  • Régi
Hozzászólás írásához be kell jelentkeznie
22 March, 19:08
what is the max value the int variable can store and what class do we use to read from the console ?
tri buinál nél
3 March, 08:41
easy game...
delta
Szint , ,Sz
1 August 2023, 07:36
the question 5/2 didn't specify what type of variable they are. if both are double 2.5 is an answer . if both are int 2 is the answer.
Timurlan
Szint , ,Sz
26 July 2023, 14:46
I didn't get that int can store 2.... if include negative digits there are 4....
rags 3
Szint , ,SzSz
Expert
11 June 2023, 18:56
they actually taught it all but not direct its critical thinking like int don't do fractions its all there just not in plain text in my opinion
Farcalito
Szint , ,Sz
26 December 2022, 04:58
they didnt even teach some of these questions in previous lessons
Anonymous #11208858
Szint , ,SzSz
8 December 2022, 04:23
I thought it was scanner.BufferedReader ?
ghost
Szint , ,SzSz
27 October 2022, 19:18
In Java, you can get the length of the string "hello" with this statement: ??
Manh-Nam Nguyen
Szint , ,SzSz
30 May 2023, 07:42
"hello".length()
Jelly bean
Szint , ,SzSz
27 September 2022, 18:32
i doubt this 5/2 gives 2.5 or does it, is it 2 or something
8 February 2023, 08:06
5/2 gives 2, java and C+ things
Maksim Krasnov
Szint , ,SzSz
12 June 2022, 20:24
5/2 = 2 // 2 fits twice in 5 5%2 = 1 // remainder - whole number after division 5 = 2*2 + 1 -------------- 2/5 = 0 // 5 fits zero times in 2 2%5 = 2 // remainder - whole number after division 2 = 0 +2