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

Author Archives: Writer - MK

Java Program To Find Area of Parallelogram – Programs

Java program to calculate the area of a parallelogram. There may be so many ways to represent the code in order to calculate the area of a parallelogram. Here, we tried to write in just three to four lines of code. # Scroll down for online compiler and execution tool # If you were new to java programming and have you ...

Read More »

Java Program To Calculate Distance Between Two Points | 3 Ways

Java program to calculate the distance between two points. The code has been written in five different formats using standard values, taking inputs through scanner class, command line arguments, while loop and, do while loop, creating a separate class. If you nay doubts related to the information that we shared do leave a comment here at the end of the ...

Read More »

Java: Convert Hours To Seconds & Minutes | Vice Versa

Java program to convert hours to minutes & seconds vice versa. Its a simple code to convert hours to seconds, this java program has been written in 4 ways for easy understanding. If you have any queries just do leave a comment here. In this tutorial, we learn how to use the Java program to effectively to calculate and convert ...

Read More »

Java Code For log() – 4 Simple Ways | Java Codes

Java Program To Calculate Log() – In this article, we will brief in on all the possible ways to log in Java. Log Java code has been written in all possible ways here. If you have any queries leave a comment here. The methods used in this article are as follows: Using Standard Class Using Scanner Class Using Predefined Method ...

Read More »

Java Program To Calculate Volume Of Prism | 3 Simple ways

Java program to calculate the volume of a prism. we have been written the java code in three to four different formats. All of the formats are meant to be same just for a learning purpose. If you have any doubt related to the subject that we are shared over here do let us know by commenting or contacting us. ...

Read More »

C Program Volume Of Cylinder | C Programs

C Program to find the Volume of a Cylinder – In this specific article, we will brief in on how to calculate the volume of a cylinder in C programming. The methods used to do so are as follows: Using Standard Method Using Function Using Pointer Using Macros Suitable examples and sample programs have been added to this particular blog ...

Read More »

Java Program To Calculate Area Of Circle | 5 Ways

Java program to calculate or to print area of a circle in a simple method. If you were new to java or at the beginning stage then, Check – 500+ simple Java programs for beginners. The following Java program to print the area of a circle has been written in five simple different ways, static method, using constructor, Interface, inheritance with sample outputs for ...

Read More »

Java Code to Calculate Years Between Two Dates | Java Programs

Java program to find years between two dates – The following java program has been written in along with algorithmic explanation, if you have any doubts regarding that just do leave a comment here. Java Program Calculate Years Between Dates [crayon-6a18215e7d884682631377/] Output: [crayon-6a18215e7d894939840910/] Explanation: To calculate the exact number of years in between two dates, we will require to store ...

Read More »

[GUI] Implement Simple Calculator Using JFrame/Swing In Java | Programs

Java program to implement calculator using JFrame/Swing With GUI – In this article, we will detail in on how to implement a calculator using Swing concept in Java programming along with detailed explanation of the source code. The method used in this article is as follow: Using JFrame As we all know, calculators are the mechanical or digital instruments which ...

Read More »

Java Program To Calculate Salary Of An Employee | 3 Ways

Java Program To Calculate Salary of An Employee – In this article, we will detail in on all the methods used to calculate the net salary of an employee in Java Code.  Suitable examples and sample programs have been included in order to make you understand simply. Employee program in Java. The methods used in this article are as follows: ...

Read More »