TechShiksha by Badkul Technology
5.78K subscribers
135 photos
238 files
617 links
https://www.youtube.com/@TechShikshaBT

Learn Java programming for free
Free hand written notes
Free ebooks
Free assignment support
Paid assignment support
Download Telegram
In Java, which keyword is used to implement inheritance between classes?
Anonymous Quiz
61%
extends
27%
implements
7%
new
5%
super
👍3🥰21
#Quiz_Java (Question - 108)

Which of the following is mutable string?
Anonymous Quiz
26%
String
19%
StringConcat
45%
StringBuilder
11%
None Of The Above
👍4
Which data structure uses the "First-In-First-Out" (FIFO) principle?
Anonymous Quiz
34%
Stack
55%
Queue
8%
arraylist
3%
hashset
👍9👏3💯3🥰2🤔1
What is the correct way to declare a constant in Java?
Anonymous Quiz
26%
constant int x =5;
47%
final int x =5;
16%
int final x = 5;
11%
int x = constant 5 ;
👍9🔥1
Which feature introduced in Java 8 allows you to write more concise and expressive code for handling collections?
Anonymous Quiz
23%
Enhanced for loop
20%
Generics
44%
Lambda expressions
12%
Method references
👍7👏1
In Java 11, which module was introduced to provide a standard API for working with HTTP clients and servers?
Anonymous Quiz
21%
32%
java.http
23%
java.net.http
👍8
In Java, which feature is used to define methods that can accept variable-length argument lists?
Anonymous Quiz
11%
Variadic functions
40%
Variable functions
21%
Varargs
28%
Variable methods
👍5
Which feature, introduced in Java 12, allows the JVM to allocate and deallocate memory more efficiently for small objects?
Anonymous Quiz
45%
Switch Expressions
17%
Shenandoah GC
23%
Value Types
15%
Compact Strings
👏41
____________operator is used to assign a value to a variable?
Anonymous Quiz
11%
*
5%
x
76%
=
7%
+
👍4
Which of the following is the return type of the lines() method in the java.nio.file.Files class?
Anonymous Quiz
33%
Stream<String>
20%
List<String>
11%
Set<String>
16%
Map<String, String>
21%
None of the above
6👍4👏1
Newly Joined Members subscribe to our channel to learn programming and crack written exams.

Like this post if you have already subscribed to our channel

Click on below link to subscribe

https://bit.ly/3NLjOpW

Discuss doubts in @javaforfree
1🔥1👏1