• Register

Recent posts in java

6 views

Ordinarily, we need a random alphanumeric String for assigning variables and using test cases. Thankfully Java provides a few different ways to make arbitrary Strings...

posted 16 hours ago in java yoniortho 100 points
edited 16 hours ago by yoniortho
4 views

Here is the full issue which user faced several times.When you compare some primitive data type with null then there is no doubt that you are getting error .Error is The...

posted 20 hours ago in java sanchi 100 points
7 views

Overloading a Method

Overloading a method is a way of having multiple methods with the same name or identifier, and use them to perform different tasks. In order for you...

posted 5 days ago in java Tegra Balonga 500 points
4 views

What is a constructor

A constructor is a method that is used to establish objects of a class. Whenever an object is created and is being instantiated,...

posted 5 days ago in java Tegra Balonga 500 points
8 views

What are Objects and how do they relate to Classes

Everything can be said to be an object, it can go from your TV, your laptop, or even your pet and...

posted 6 days ago in java Tegra Balonga 500 points
10 views

What are methods

A method is a program module containing codes or statements meant to accomplish a certain task. An example of a method is the main()...

posted 6 days ago in java Tegra Balonga 500 points
20 views

Learn Software Design and Architecture

Software design and architecture are arguably the most important phases of the software development process. Being able to see the...

posted Apr 25 in java Syed Talha 100 points
17 views

In this article, I will explain about Java 8 collections and that developers should know.

Lambda expressions

Collections

Method...

posted Apr 15 in java vishnu.chilamakuru 100 points
11 views

In this program, you will learn how to find the GCF of two numbers in Kotlin. This is done using for and while loops with the help of if else statements.

The...

posted Apr 14 in java amna 110,660 points
11 views

In this program, you will learn how to check if a number is palindrome or not in Java. This is done using for and while loop.

Example 1: Program to verify Palindrome...

posted Apr 14 in java amna 110,660 points
13 views

In this program, you will learn how to create Pyramid, Half Pyramid, Inverted Pyramid, Pascal's Triangle, and Floyd's Triangle control statements in Java.

Programs...

posted Apr 14 in java amna 110,660 points
11 views

In this program, you will learn how to display Fibonacci series in Java using for and while loops. You will learn how to display the series up to a specific term or...

posted Apr 13 in java amna 110,660 points
14 views

In this article, you will learn how to check whether a number is prime or not. This is done using a for loop and a while loop in Java.

A prime number is a number that...

posted Apr 13 in java amna 110,660 points
21 views

Properties files are used to keep ‘N’ number of properties in a single file to run the application in a different environment. In Spring Boot, properties are kept in...

posted Apr 4 in java thistimeonly32 100 points
15 views

The shutdown hook can be used to perform cleanup resource or save the state when JVM shuts down normally or abruptly. Performing clean resource means closing log file, sending...

posted Apr 3 in java thistimeonly32 100 points
28 views

There may be errors when programming. An error in the program gives an unexpected result or may terminate the execution of the program.

Key difference:...

posted Mar 25 in java amna 110,660 points
edited Mar 25 by amna
22 views

Both  Abstraction  and  Encapsulation are two of the four basic concepts of Object Oriented Programming...

posted Mar 21 in java amna 110,660 points
18 views

What is overload in Java?

Overloading is the ability to create multiple methods of the same name with different implementations.

What is overriding in...

posted Mar 16 in java amna 110,660 points