Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)
Writer - MK, Author at Learn Java - Page 14 of 17
Latest :

Author Archives: Writer - MK

Java Program to Calculate Income Tax | Java Programs

Java code to calculate income tax for company or for employee –  The following income tax calculator on java has been written in 4 different ways. Suitable examples and sample programs have been included in order to make you understand simply. The methods used in this article are as follows: Using Scanner Class Using a Static Method Using Separate Class ...

Read More »

Java Code to Calculate Harmonic Value | Java Programs

Java program to calculate harmonic value – In this article, we will learn the multiple ways to calculate the harmonic value in Java Programming. Suitable examples and sample programs have been included in order to make you understand simply. The compiler has also been added so that you can execute the programs yourself. The methods used in this article are ...

Read More »

Miles Per Gallon Java Program | 4 Ways

Java Program To Calculate Miles Per Gallon – In this article, we will detail in on all the possible methods used to calculate miles per gallon in Java. The following source code has been written in multiple ways for easy understand. Suitable examples and sample programs have been included in order to make you understand simply. The methods used in ...

Read More »

Java: Volume Of Box Program | Java Programs

Java program to find the volume of box –  In this article the java code is used for calculating the the volume of the box. The concepts are vividly explained to make it easier for you to learn. What is volume? Volume is a three dimensional space and is denoted by a standard unit of “meter” in physics.  Volume is ...

Read More »

Java: Number of Days In A Month – 3 Ways | Java Programs

Java Program To Calculate Number of Days In A Month – In this article, we will detail in on how to calculate the number of days in a month in Java Programming. Suitable examples and sample programs have been included in order to make you understand simply. The compiler has also been added so that you can execute the programs ...

Read More »

Java Code to Calculate Love Percentage [FLAMES] | Programs

Java program to calculate love percentage or Flames Java Program – In this article, we will detail in on all the possible ways to calculate love percentage in Java code. The methods used in this article are as follows: Using Scanner Class – Check generic class in java Using Static Method Using Separate Class Using Command Line Arguments Love percentage ...

Read More »

Java Program To Calculate Median Array | 4 Methods

Java code To Calculate Median – In this article, we will brief in on the mentioned means to  Finding the middle element in array. The following median code has been written in 4 different ways. If you have any doubts you can leave a comment here. The source code has written in: Using Standard Method Using Static Method Using Scanner ...

Read More »

IRCTC API & Source Codes – Indian Railways API

IRCTC or the Indian Railways Catering and Tourism Corporation is the major online ticketing web portal which is primarily handled by the Indian Railways itself. It is the only official online portal to book train tickets online. The web portal is heavily encrypted. So, you need to create a profile in order to access the website completely and book tickets for ...

Read More »

Generic Class With Multiple Type Parameters In Java

How the generics work with multiple types: “Generics” mechanism allows us to work with a class (or method) that suits for any type of data. Suppose we want one Stack that holds Integer data and another Stack that holds String data then we need two different classes. With generics, we can write only one class that works for both the ...

Read More »

Java Constructor Chaining – Types & Example | Tutorials

Java Constructor Chaining – Calling one constructor from another constructor is generally referred to as constructor chaining. This can be achieved in two ways. this() super() in some cases we use only this(), in some other cases, we use only super(). Sometimes we use both (but not directly). Normal Java constructor calling (without chaining) When we create an object, its ...

Read More »