8. What does the 'final' keyword do when applied to a variable in Java?
Anonymous Quiz
25%
It makes the variable accessible only within its class.
48%
It makes the variable immutable (constant).
13%
It allows the variable to be inherited.
13%
It limits the variable's visibility to other classes.
9. Which of the following is not an access modifier in Java?
Anonymous Quiz
15%
private
23%
protected
55%
default
6%
public
10. What will be the output of the following Java code?
String str = "hello"; System.out.println(str.length());
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
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);
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?
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?
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?
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
Quiz 6
What is the purpose of the 'static' keyword in Java?
What is the purpose of the 'static' keyword in Java?
Anonymous Quiz
25%
It binds variables to the current instance of the class
22%
It allows a variable to store only one value.
41%
It allows a method to be called without an instance of a class.
12%
It restricts access to the variable in the class.
Delta Full Stack Web Development Course By Apna College
WHAT YOU'LL LEARN?
--> Complete Frontend Development
--> Complete Backend Development
--> Complete Database - SQL & MongoDB
--> Complete MERN Stack (MongoDB, Express, React, Node)
--> Real Life and Industry Grade Projects
--> LIVE sessions on how to get a job, resume, freelance, open source & more
LECTURES
500+ Video Lectures that cover MERN stack in detail.
LIVE SESSIONS
12+ Hours of Live Sessions on all important topics.
Download Link
Day 1 to Day 40:
https://drive.google.com/drive/folders/1vB6ra0uYfPYfeyEwGklfRbo61lsJEORK?fbclid=IwAR0rRoiY3L7gTQvvaMtJb
Day 41 to Day 55:
https://drive.google.com/drive/folders/1yc_4CHLeoMPEAM0bp3y5n3tyDlfwsuT9?usp=sharing
Or
https://drive.google.com/drive/mobile/folders/1eM71dPcg-Mi0NcOnX6_dhrke5NMUvhaq
✅ Join For More 👇
https://t.me/addlist/QYOZWFI6axE3NzI1
@FreeCourse_0_0
✅ If you get any error or empty file connect with @imabhi3030 @Myhurthearts
WHAT YOU'LL LEARN?
--> Complete Frontend Development
--> Complete Backend Development
--> Complete Database - SQL & MongoDB
--> Complete MERN Stack (MongoDB, Express, React, Node)
--> Real Life and Industry Grade Projects
--> LIVE sessions on how to get a job, resume, freelance, open source & more
LECTURES
500+ Video Lectures that cover MERN stack in detail.
LIVE SESSIONS
12+ Hours of Live Sessions on all important topics.
Download Link
Day 1 to Day 40:
https://drive.google.com/drive/folders/1vB6ra0uYfPYfeyEwGklfRbo61lsJEORK?fbclid=IwAR0rRoiY3L7gTQvvaMtJb
Day 41 to Day 55:
https://drive.google.com/drive/folders/1yc_4CHLeoMPEAM0bp3y5n3tyDlfwsuT9?usp=sharing
Or
https://drive.google.com/drive/mobile/folders/1eM71dPcg-Mi0NcOnX6_dhrke5NMUvhaq
✅ Join For More 👇
https://t.me/addlist/QYOZWFI6axE3NzI1
@FreeCourse_0_0
✅ If you get any error or empty file connect with @imabhi3030 @Myhurthearts
👍3👏1
👍2❤1
Guys are you ready for Apna college Sigma 4.0 java course video give 30 reaction ❤️
❤13🔥5🥰1💔1