Skip to content

Tag Archives: Picked

lines() method is a static method which returns out stream of lines extracted from a given multi-line string, separated by line terminators which are as… Read More
Given a number n as the size of the matrix, the task is to print a spiral pattern of size n. Examples: Input : n… Read More
The CookieManager class provides a precise implementation of CookieHandler. This separates the storage of cookies from the policy surrounding accepting and rejecting cookies. A CookieManager… Read More
When we create an object in Java, an object is strong by default. To create a Phantom Reference Object, we must explicitly specify this to… Read More
The object of the CookieHandler Class in Java provides a callback mechanism for hooking up an HTTP state management policy implementation into the HTTP protocol… Read More
java.lang.reflect.Method class provides necessary details about one method on a certain category or interface and provides access for the same. The reflected method could also… Read More
When we create an object in Java, an object isn’t weak by default. To create a Weak Reference Object, we must explicitly specify this to… Read More
Question 1. If a parabolic reflector is 20 cm in diameter and 5 cm deep, find the focus. Solution: The origin of the coordinate plane… Read More
Question 1. Write the following in decimal form and say what kind of decimal expansion each has : (i) 36/100  Solution: In the given question, we… Read More
Question 1. Which of the following pairs of linear equations has unique solution, no solution, or infinitely many solutions. In case there is a unique… Read More
Question 1. Let ∆ ABC ~ ∆ DEF and their areas be, respectively, 64 cm2 and 121 cm2. If EF = 15.4 cm, find BC.… Read More
The ability of the software to analyze itself is known as Reflection. This is provided by the java.lang.reflect package and elements in Class .Field serves… Read More
Duration is the value-based Class present in the Java time library. It’s used to get time-based amount of time. This class is immutable and thread-safe.… Read More
The java.lang.reflect.Modifier class contains methods used to get information about class, member and method access modifiers. The modifiers are represented as int value with set… Read More
A ReferenceQueue is a simple data structure onto which the garbage collector places reference objects when the reference field is cleared (set to null). You… Read More

Start Your Coding Journey Now!