Skip to content

Category Archives: Java

Given an Integer number convert into Binary Number using arrays as a stack. Example: Input : 10 Output: 1010 Input : 16 Output: 10000 Approach:… Read More
A proxy class is present in java.lang package. A proxy class has certain methods which are used for creating dynamic proxy classes and instances, and… Read More
TemporalAdjusters Class in Java provides Adjusters, which are a key tool for modifying temporal objects. Examples include an adjuster that sets the date like “Second… Read More
Given a non-negative number find the cube root of a number using the binary search approach. Examples : Input: x = 27 Output: 3 Explanation:… Read More
Given a non-negative number find the square root of a number using the binary search approach. Examples : Input: x = 16 Output: 4 Explanation:… Read More
An unexcepted, unwanted event that disturbed the normal flow of a program is called Exception. Most of the time exception is caused by our program… Read More
Java Clock class is present in java.time package. It was introduced in Java 8 and provides access to current instant, date, and time using a… Read More
Basically, an N-array tree is such a tree structure in which each node can have a max of up to ‘N’ number of children. The… Read More
XMLGregorianCalendar can be transformed into either java.util.Date or java.sql.Date as per the requirements. JAXB (Java API/XML Bindings Architecture) is a common framework for creating XML… Read More
java.time.format.DecimalStyle class acts as a central point for accessing the information. A significant part of handling dates and times is that localization. This class provides… Read More
Java is the most popular programming language and widely used programming language. Java is used in all kind of application like as mobile application, desktop… Read More
Java YearMonth class provides the output of the format “year-month”. This class is an immutable class which means that it defines objects which, once created,… Read More
ReflectPermission class extends BasicPermission class. It is a “named” permission i.e it contains a name but no action. It may implement actions on top of… Read More
Java is the most popular programming language and widely used programming language. Java is used in all kind of application like mobile application, desktop application,… Read More
A ZoneId is used to identify the rules that used to convert between a LocalDateTime and an Instant of time. The actual rules, describing when… Read More

Start Your Coding Journey Now!