When writing programs in java, we often deal with scenarios where we get null reference for objects. Such scenarios are pain for developers, as de-referencing such variables cause, you guessed it, null pointer exceptions. The standard practice, for developers, before Java 8, was to null check every time you faced such ambiguous instances of objects.
Category: JAVA CORE BASIC
Ascending order is the order in which the number starts from lowest and move to the greatest, whereas Descending order is the order in which the number start from the greatest and move toward the lowest. Check out the simple java code for ascending and descending of a give set of numbers. Ascending Descending Order
In late 1970’s brilliant minded Joy thought of designing a programming language combined the best features of MESA and C. While rewriting the UNIX operating system he felt C++ was lacking the quality required for him to do his task. A too was needed for writing effective codes. This flame and desire led to the
Hello World! It all start from here. So lets start the journey by writing a program to print hello world. Open your favorite IDE. Go to File -> New Project 2. Select Maven in categories -> Java Application in Projects. You can read this blog to know about maven. 3. Give you project
Lear JAVA from Basics Lets Start from Basic Concepts: What is Java? Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable.