Programming
Python
R
Java
C
C++
C#
WEB
HTML
CSS
JavaScript
BootStrap4
jQuery
SVG
MORE
Examples1
Python
GO
R
Java
C
C++
C#
Examples2
Python
R
Java
C
C++
C#
HTML
CSS
JavaScript
BootStrap4
jQuery
SVG
Seo Tools
Code Minifier
Code Beautifier
Language Compiler
Misc Tools
File Converter
References
C
C++
Python
Java
PHP
JavaScript
Examples
Python
R
Java
C
C++
C#
HTML
CSS
JavaScript
BootStrap4
jQuery
SVG
Home
About
Contact
JetPack
Multi Themes-->>
Code it ALL
Scroll TOP
Java Program to Multiply two Floating Point Numbers - CodeGK
Δ Java Examples
Examples
Java Program to Add Two Integers
Java Program to Multiply two Floating Point Numbers
Java Program to Find ASCII Value of a character
Java Program to Find Character from it's Ascii Value
Java Program to Compute Quotient and Remainder
Java Program to Swap Two Numbers
Java Program to Check Whether a Number is Even or Odd
Java Program to Check Whether an Alphabet is Vowel or Consonant
Java Program to Find the Largest Among Three Numbers
Java Program to Find all Roots of a Quadratic Equation
Java Program to Check Leap Year
♦ Java Program to Multiply two Floating Point Numbers
♣ Example1: Java Program to Multiply two Floating Point Numbers
Input:
Run CODE
Reload Code
Copy Code
public class MyClass { static int prodTwo(int num1, int num2){ return num1*num2; } public static void main(String[] args) { int num1=7; int num2=5; System.out.println(prodTwo(num1, num2)); } }
Output: