Types and keyboard input
Types and keyboard input
- 2
বিদ্যমান নয়
মন্তব্য (23)
- জনপ্রিয়
- নতুন
- পুরানো
মন্তব্য লেখার জন্য তোমাকে অবশ্যই সাইন ইন করতে হবে
hidden #11489999
22 মার্চ 2024, 19:08
what is the max value the int variable can store and what class do we use to read from the console ?
+3
tri bui DBI - Design Build I-এ Backend Developer
3 মার্চ 2024, 08:41
easy game...
+2
delta
1 আগস্ট 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.
+4
Azalea
14 সেপ্টেম্বর 2024, 02:42
Riigghtt? This is my only mistake :(
0
Timurlan
26 জুলাই 2023, 14:46
I didn't get that int can store 2.... if include negative digits there are 4....
+2
rags 3Expert
11 জুন 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
+1
Farcalito
26 ডিসেম্বর 2022, 04:58
they didnt even teach some of these questions in previous lessons
+13
Anonymous #11208858
8 ডিসেম্বর 2022, 04:23
I thought it was scanner.BufferedReader ?
+4
ghost
27 অক্টোবর 2022, 19:18
In Java, you can get the length of the string "hello" with this statement: ??
+1
Manh-Nam Nguyen
30 মে 2023, 07:42
"hello".length()
+1
Jelly bean
27 সেপ্টেম্বর 2022, 18:32
i doubt this 5/2 gives 2.5 or does it, is it 2 or something
+4
Bassy Boosty Extremy
8 ফেব্রুয়ারি 2023, 08:06
5/2 gives 2, java and C+ things
+1
Maksim Krasnov
12 জুন 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
+8