Telegram Web Link
✍️✍️.......🍃🍃🍃......✍️✍️
The HTTP 204 No Content success status response code indicates that a request has succeeded, but that the client doesn't need to navigate away from its current page. This might be used, for example, when implementing "save and continue editing" functionality for a wiki site.

Join us :-@Compu
✍️✍️.......🍃🍃🍃......✍️✍️
Q. Which of these packages contain all the collection classes?
Anonymous Quiz
26%
A. java.lang
35%
B. java.util
33%
C. java.net
7%
D. java.awt
✍️✍️......🍃🍃🍃......✍️✍️
Q:What is Collection in Java?
Anonymous Quiz
23%
A. A group of objects
39%
B. A group of classes
32%
C. A group of interfaces
6%
D. None of the mentioned
✍️✍️......🍃🍃🍃......✍️✍️
Q: Which interface provides key-value pair?
Anonymous Quiz
22%
a. List
33%
b. Set
24%
c. Map
21%
d. Collection
✍️✍️......🍃🍃🍃......✍️✍️
Q: What is the implementation of the List interface?
Anonymous Quiz
17%
a. HashMap
18%
b. HashSet
22%
b. HashSet
35%
c. LinkedList
9%
d. LinkedHashSet
✍️✍️......🍃🍃🍃......✍️✍️
Q: What are the implementation classes of the Map interface?
Anonymous Quiz
17%
a. HashMap
36%
b. LinkedHashMap
19%
c. TreeMap
28%
d. All of above
✍️✍️......🍃🍃🍃......✍️✍️
transient is a variables modifier used in serialization. At the time of serialization, if we don't want to save value of a particular variable in a file, then we use transient keyword. When JVM comes across transient keyword, it ignores original value of the variable and save default value of that variable data type.

@Compu
✍️✍️......🍃🍃🍃......✍️✍️
Strings in Java
In the given example only one object will be created. Firstly JVM will not find any string object with the value “Welcome” in the string constant pool, so it will create a new object. After that it will find the string with the value “Welcome” in the pool, it will not create a new object but will return the reference to the same instance.

@Compu
✍️✍️.......🍃🍃🍃.......✍️✍️
Volatile keyword is used to modify the value of a variable by different threads. It is also used to make classes thread safe. It means that multiple threads can use a method and instance of the classes at the same time without any problem. The volatile keyword can be used either with primitive type or objects.

@Compu
Hi! I'd like you to try CheQ - an exciting, new credit management app. Pay your credit card bills & loan EMIs on CheQ, and get 1% back on all your payments! Join using my invite and get Rs.100 worth CheQ Chips when you make your first payment. https://app.cheq.one/3UIC/fvpad44q
✍️✍️......🍃🍃🍃......✍️✍️
Q:- The following lambda expression is valid.
(x, y) -> return x + y
Anonymous Quiz
70%
A. True
30%
B. False
✍️✍️......🍃🍃🍃......✍️✍️
Q: Which of the following functional interfaces represents an operation that accepts a single input argument and returns no result?
Anonymous Quiz
25%
A. BooleanSupplier
46%
B. DoubleBinaryOperator
19%
C. DoubleConsumer
10%
D. Consumer<T>
2025/07/04 20:00:15
Back to Top
HTML Embed Code: