maths

Ads
 

maths

How to multiply 3*5

View Answers

September 5, 2014 at 12:20 AM

Hi,

You can use the following code:

int i = 3*5;
System.out.println("Multiplication result is:" + i);

Check Java Beginners Tutorial for more examples.

Thanks

Ads









Related Tutorials/Questions & Answers:
maths
java interfaces implementation
java interfaces implementation  hai I have defined one inter face like Maths taking methods like add(), sub(), mul()in interface I take... which are define in Maths interface. I want only addition implementation
Advertisements
java - Design concepts & design patterns
java  Q. Admission to a professional course is subject...("Enter marks of mathematics: "); int maths = scanner.nextInt...: "); int chem = scanner.nextInt(); int total = maths + phy
Please help
java.util.*; public class Maths{ Scanner = new Scanner(System.in
Interactive program
hindi; double maths; double science; double total; String grade... hindi; } public void setMaths(double maths){ this.maths=maths; } public double getMaths(){ return maths; } public void setScience(double science
Area Chart
(3.0, "Maths", "Rahul");   dataset.addValue(5.0, "Science", "Vinod");  ...;);   dataset.addValue(3.0, "Maths", "Rahul"...;);   dataset.addValue(2.0,"Maths", "Vinod");  
Database
maths) but here i am not creating the separate table for each table. tell
MySql,java
maths) but here i am not creating the separate table for each table. tell me
joptionpane validation
. Science \n" + "3. Maths", "Input
JSON
; var students = { "Maths" : [ { "Name" : "Amit", // First... } ] } // Printing Maths array values in the alert message var i=0 var
CRUD DAO
into the table String query = "insert into newstudent(stdid,stdname,maths... studentName = rs.getString("std_NAME"); int maths = rs.getInt("maths
how to difficulty in removing error - Java Beginners
,c=o,lit,lang,hin,hist,geog,maths,phy,chem,bio,eve,hist,ctsa,total; double avg..."); maths=Integer.parseInt(data.readLine()); System.out.println("Enter the students...); pw.println(maths); pw.println(phy); pw.println(chem); pw.println(bio
3D Bar Chart
;dataset.setValue(8, "Maths", "Rahul");   ...;dataset.setValue(3, "Maths", "Deepak");   ...;dataset.setValue(9, "Maths", "Vinod");   
Creating Array Objects in JavaScript with JSON
value in the following way: "students.Maths" for accessing Maths... to access first element of the Maths array we can write it as "... of the first student in Maths and so on. Here is the full example code
Final Methods - Java Tutorials
constants. Given below a example of named constant : public class Maths
Java Programming Need Help ASAP
, maths mark, communications mark. You will then need accessor and mutator methods
Context binding
javax.naming.NoInitialContextException { maths mat=new A(); mat.add(); mat.sub(); String
Measure Of Width
us the width in points and we will have to do maths to know the width
Parsing a message in JavaScript with JSON
;"Maths" : [    { "Name"  
Student Result Application
No: "); no = input.nextInt(); System.out.print("Enter marks of Maths: "); s1
using class and methods - Java Beginners
No: "); no=input.nextInt(); System.out.print("Enter marks of Maths
Joins tables in jsp
int (3) NOT NULL AUTO_INCREMENT,   -> english int (3) , maths int...)); +--------+---------+-------+----------+---------+ | stu_id | english | maths | computer | science
Hibernate Mapping Many-to-Many Example
;(); courses.add(new Course("Maths")); courses.add(new Course("Science
Tourist Places of Karnataka India
Years. Udupi Tourism of Karnataka: Shri Krishna temple & eight Maths
Please provide jquery inline form validation for the code
;<option value="Maths">Bsc Maths<option value="Physics">Bsc
HTML Elements
Subjects Physics Maths (ii) COLSPAN... Physics Maths Y Physics Biology Frames
Creating Message in JSON with JavaScript
;     var students = { "Maths

Ads