More on Enums
Please visit Enums blog before venturing further into this article. Singleton Implementation Enums are by default thread-safe and provide an easy[…]
Read moreAmplify your java knowledge with javagyansite
Please visit Enums blog before venturing further into this article. Singleton Implementation Enums are by default thread-safe and provide an easy[…]
Read moreJava enum type is a special type of class for creating a collection of constants. Please note that enums implicitly[…]
Read morestrictfp is one of the keywords introduced in Java to ensure portability and to restore platform independency. Floating point calculations[…]
Read moreReference Type Casting Objects of classes also can be cast into objects of other classes when the source and destination[…]
Read moreWe have the following numeric primitive types: Apart of the above, we have the non numeric primitive type “char” :[…]
Read moreThe automatic conversion of primitive data types into its equivalent Wrapper type is known as boxing and opposite operation is[…]
Read moreIn this post, we will dive deep into “Object Class in Java”. Let’s get started. What is Object Class in[…]
Read moreIn java, we have three types of initializers: 1. Static Initializer:can be used to set the value of any static[…]
Read moreequals method is used to check the equality of two objects based on it’s contents. equals versus == If two[…]
Read moreLet us start by understanding the terms “Pass By Value” and “Pass By Reference”. Pass By Value(copy the value, and[…]
Read more