JAVA PROGRAMMING
4.93K subscribers
233 photos
186 files
91 links
Hello! I am @imabhi3030 and welcome to the Coding channel! Here we can learn all things related to coding and improve our skills. I am always present to help you. If you need any kind of assistance, just let me know! 😊
Download Telegram
10. What will be the output of the following Java code?
String str = "hello"; System.out.println(str.length());
Anonymous Quiz
60%
5
22%
hello
6%
6
11%
Compilation error
Padhte padhte mood off hogya to movie aur webseries 🍿🎥 dekh lo na

https://t.me/MovieWebseriesVideo

Aur apne folder me add krlo bta rhe hain fayde me rhoge 😂

👉 https://t.me/addlist/QYOZWFI6axE3NzI1
🥰1
1. What is the default value of a boolean variable in Java?
Anonymous Quiz
25%
true
32%
false
19%
0
24%
null
2. Which of the following is not a valid keyword in Java?
Anonymous Quiz
23%
interface
45%
enum
8%
extends
23%
implement
3. Which of the following statements is used to exit from a loop in Java?
Anonymous Quiz
18%
exit
5%
stop
64%
break
13%
return
4. What is the output of the following Java code?
int x = 5; int y = 2; System.out.println(x / y);
Anonymous Quiz
39%
2.5
49%
2
4%
3
8%
Compilation error
5. Which method is used to start a thread in Java?
Anonymous Quiz
55%
start()
22%
run()
14%
execute()
9%
begin()
👍1
6. Which of the following is the correct way to declare an array in Java?
Anonymous Quiz
57%
int[] arr;
5%
arr[] int;
9%
array int[];
29%
int arr[];
Quiz 1
What is the size of an int variable in Java?
Anonymous Quiz
28%
16 bits
29%
32 bits
10%
64 bits
33%
8 bits
Quiz 4
What keyword is used to prevent method overriding in Java?
Anonymous Quiz
40%
final
33%
static
3%
native
24%
abstract
Quiz 5
Which of the following is a valid declaration of a boolean variable?
Anonymous Quiz
62%
boolean isJava; 
18%
boolean 1stNumber;
7%
boolean is/Java
14%
boolean is Java; 
👍1
👍2❤1
Guys are you ready for Apna college Sigma 4.0 java course video give 30 reaction ❤️
❤13🔥5🥰1💔1
Day - 1 SIGMA 4.0 Apna college 👇