Comment

sekhar
small bug,
March 25, 2009 at 1:03 AM

there is a small bug in this program. while performing multiplication please note that the for loop will be:


for(int i = 0; i < x; i++) {
for(int j = 0; j < y; j++) {
for(int k = 0; k < y; k++){

array2[i][j] += array[i][k]*array1[k][j];
}
}
}

thats it....
View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
JDBC Questions

Small Bug How to solve in my code
Small Bug How to solve in my code  String season=""; pst = con.prepareStatement("SELECT DISTINCT(Season) season FROM specialdates where Regid...") + ","; it shows bug in findbugs tool.. but it executes successfully how to solve 

Java Beginners

small java project - Java Beginners
small java project  i've just started using java at work and i need to get my self up to speed with it, can you give me a small java for beginners project to work on. your concern will be highly appreciated 

Java Beginners

small java project - Java Beginners
small java project  i've just started using java at work and i need to get my self up to speed with it, can you give me a small java for beginners project to work on. your concern will be highly appreciated 

Java Beginners

Small program code - Java Beginners
Small program code  Develop the echo server and the echo client program that display whatever is typed in the server on to the client 

JSP Servlet Questions

small query - JSP-Servlet
small query  how to set value to textbox on browser side which is retrived from the database?  Hi friend, Plz explain problem in details which technology you have used e.g. JSP/Servlet/Java etc... For more 

Java Beginners

Small typo at SCJP Module-1 Question-6
Small typo at SCJP Module-1 Question-6  Hi Team, This is a awesome site which is serving lot of peoples in learning java effectivly, thanks alot for that, A small typo at "SCJP Module-1 Question-6", in spite of "a.method 

Java Beginners

Computer Terminology Bug
Computer Terminology Bug  What is mean by bug in computer terminology 

Java Beginners

Computer Terminology Bug
Computer Terminology Bug  What is mean by bug in computer terminology 

Java Beginners

Html+jsp+database is enough to do the small operation
Html+jsp+database is enough to do the small operation  Hai , If u want to do simple insetion and data retrival operation throw jsp ?.you need...="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage 

Spring Framework Questions

what is diffrence between the spring and ejb which is better for small application - Spring
what is diffrence between the spring and ejb which is better for small... for small application. and why do we need to use sping or ejb for web... is an open source application for the Java platform whereas EJB is a server-side 

JavaScript Questions

Small clarification
Small clarification  This function is used to search and select particular word. In this function document.getElementById('d')); getElementById is used to get the element by using id,but here there is no id with 'd', what 

OpenSourceSoftware

Open Source Bug Trackings
Open Source Bug Trackings Open-Source Bug Tracking with Bugzilla Bug... counterparts.    Call Center, Bug Tracking and Project Management... of meager bug-tracking systems. In the intervening time, the list of packages 

Java Beginners

explanation - Java Beginners
explanation  I have create small java appication. I don't know about... java application.   Hi Friend, Please visit the following links to know about the Garbage collection. http://www.roseindia.net/java/beginners 

Java-Tutorials

Basic Java programming for Beginners
Basic Java programming for Beginners helps them to learn the fundamentals of the language easily and quickly. Java is an Object Oriented Programming language... the world from small to big businesses. It would be safe to say that wherever 

Java Beginners

Java Program - Java Beginners
Java Program  A Java Program that input 10 Numbers and find out...); int small = Integer.MAX_VALUE; System.out.println... number = input.nextInt(); if (number < small 

Java Beginners

what is xfire? - Java Beginners
unbounded elements generated incorrect java files. * Fixed a bug with XFire... 2.0. It has many new features, a ton of bug fixes, and is now JAX-WS compliant! XFire will continue to be maintained through bug fix releases, but most 

Java Beginners

java - Java Beginners
= Integer.MIN_VALUE; int small = Integer.MAX_VALUE...++){ int number = input.nextInt(); if (number < small) { small = number; } if (number > big 

Struts Examples

Struts 2.0.5 Released
is released with documentation changes and bug fixes. Documentation Changes... Developers Guide. Experimental Features and Plugins * Java 1.4 support: We... with the distribution. However, Struts 2 is being coded for Java 5 and backward 

Java Beginners

graphics - Java Beginners
graphics  In java-graphics.. I want to draw a rectangle and resize that rectangle(small,big) ..by using mouse cursors 

Java Beginners

java documentation - Java Beginners
java documentation   Sir my qn is that How to use javadoc tool? please explain this with a small example? How much memory is allocated for refernce variable, plz also explain me this with example 

Development process Questions

Small business administration classes
Small business administration classes  Hi, How Small business...   Hi, The manage of any small business are doing a lot of different types... process of the business. So, if you are a manager of small business then you 

Java Beginners

Java Variables - Java Beginners
Java Variables  Hi, I had a small doubt. What are Object Reference variables in java..What actually they do.. And What actually an Object Reference variable will contain? As there are no pointers in Java, what are object 

Java Beginners

Java Variables - Java Beginners
Java Variables  Hi, I had a small doubt. What are Object Reference variables in java..What actually they do.. And What actually an Object Reference variable will contain? As there are no pointers in Java, what are object 

Java Beginners

insertionSort - Java Beginners
of a program that sorts array of integers in ascending order (small to large...)); } } For more information on Java Array visit to : http://www.roseindia.net/java/beginners/arrayexamples/index.shtml Thanks 

Java Beginners

JAVA - Java Beginners
JAVA  Hi, I have one small word(number type as password) of containing 6 digits. Now i want to encrypt to this password and decrypt the password in different programs. for encrypt and decrypt the public & private keys 

Java Beginners

calender devlopment - Java Beginners
calender by using JAVA SWING. Here conditions are one textbox and one small button are needed for this application.whenever i click on small button small calender... CODE BY USING java swing thank u sir 

JDBC Questions

small code - JDBC
small code  Hi Team, I want to write program for my team in this code i have list of websites when ever this site is down this code shows site is down message and if site is up it will give message site is up. Thanks 

Java Beginners

Java Connectors - Java Beginners
Java Connectors  Hi im Fahid i have small problem ie.[java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC' JCO.nativeInit(): Could not initialize 

Java Beginners

java code - Java Beginners
java code  plese provide code for the fallowing task Write a small record management application for a school. Tasks will be Add Record, Edit Record, Delete Record, List Records. Each Record contains: Name(max 100 char 

Java Beginners

java - Java Beginners
java  Hi , roseindia I got small doubt in java, now my problem is i want difference between two dates, now i am storing these two dates...://www.roseindia.net/java/java-get-example/number-days-between.shtml Hope 

Java Beginners

are my declared varibles right - Java Beginners
are my declared varibles right  here is what i have so far juswt wondering if my varibles are correct. public class Bug { public Bug(int... information on java visit to : http://www.roseindia.net/java/ Thanks 

Java Beginners

java - Java Beginners
is iam run the small program ... but only complie...not run what is the problem... error is could not create a java virtual machine..  The error UnsupportedClassVersionError means you are trying to run Java code compiled with a new 

General

Buy KANOTIX BUG HUNTER 09-2004-A Live CDs in India from us. KANOTIX BUG HUNTER 09-2004-A Live is available with us.
KANOTIX BUG HUNTER 09-2004-A Live Linux Now Available KANOTIX BUG HUNTER... of the boot loader Buy KANOTIX BUG HUNTER 09-2004-A Live. It can be yours, just pay for the cd's and get it now. Details of the KANOTIX BUG HUNTER 

Java Beginners

Asking for exercise - Java Beginners
Asking for exercise  Can you send me a small exercise question -a prograsm for collections in java?  Hi Friend, Please visit the following link: http://www.roseindia.net/javacodeexamples/index.shtml Thanks 

Java Beginners

java - Java Beginners
java  What is Ajax?  Ajax is a combination of asynchronous JavaScript and XML. It is use in web based application where client want something from web server without refreshing the page. Generally it is use in small 

Java Interview Questions

Beginners in Java
Beginners in Java  Hi, I am beginners in Java, can someone help me... tutorials for beginners in Java with example? Thanks.   Hi, want to be command over Java, you should go on the link and follow the various beginners 

Java Beginners

java program - Java Beginners
java program  Hi Friends i have one small doubt!! code for arry to print some strings with out allowing duplicate Strings?  Hello Go to the concept pf array, it always allow duplicate. if u want ur contain unique 

Java Beginners

java - Java Beginners
java  i want pass values into string of array type dynamically.. how is it. see this is the small example t="rams";// actally this is coming...]); } } } ------------------------------- Read for more information. http://www.roseindia.net/java 

Java Beginners

java - Java Beginners
are often equipped with Java virtual machines, can interpret applets from Web servers. Because applets are small in files size, cross-platform compatible, and highly secure (can't be used to access users' hard drives), they are ideal for small 

Java Beginners

java - Java Beginners
there is no error in your program. its working fine. But i have small doubt, if u 

Java Beginners

java beginners - Java Beginners
the following links: http://www.roseindia.net/java/beginners/StringTokenizing.shtml http://www.roseindia.net/java/beginners/tokenizingjavasourcecode.shtml...java beginners  what is StringTokenizer? what is the funciton 

Java Beginners

Java Code - Java Beginners
Java Code  Write a program in Java (with a graphical user interface... price: Small - $6.50 Medium - $8.50... would be ordered, where the size is small, and it contains only Cheese (same price 

Java Beginners

Java - Java Beginners
codes (sorting and partitioning) to Java. It should be able to execute any set... and contrast it to the quicksort algorithm (f) Write a java program...) Compare the running time for the above two programs for: i. Small Inputs 

Java Beginners

Login Box - Java Beginners
Login Box   Hi, I am new to Java and I am in the process of developing a small application which needs a login page. I am planning to have my database... it with the corresponding password tosee if the login details match.I've 

Java Beginners

servlets - Java Beginners
servlets   I am doing small project in java on servlets. I want to generate reports on webpage ,how is it possible and what is the difference between dynamic pages & reports ? tell me very urgent pls,pls 

Cloud Computing

Cloud Computing Solutions for Small Business
Cloud Computing Solutions for Small Business  Hi, Which Cloud Computing Solutions for Small Business is good. How to choose best Cloud Computing Solutions for Small Business. There are many small business around the world 

Java Beginners

java servlet - Java Beginners
java servlet  Hi Friends, I want to create a small web application using net Beans.My intention is to create a log in page,if the person doesnt have username , password then he use to create a username.For this i want 

Java Beginners

task 1 - Java Beginners
task 1  Please write a Java client that send a small letters string to a Java server which convert it to uppercase letters and send it back to the client. Please submit both the client and server programs  Hi Friend 

Java Beginners

java problem - Java Beginners
from a small Java program...java problem  Hotel.java This file declares a class of object which maintains a collection of Room objects. It will contain methods which enable 

Java Beginners

swings - Java Beginners
a small example 

Java Beginners

airline reservation - Java Beginners
airline reservation example  (Airline Reservation System) A small airline has just purchases a computer for its new automated reservations system. You have... seats on each flight of the airlines? only plane (capacity: 10 seats 

JSP Servlet Questions

how to get small rectangular box or small window - JSP-Servlet
how to get small rectangular box or small window   Dear sir...,matter,matterfile from,status..etc.In a matter column i have to show a small content with hyperlink onmousemoves over it it has to show a small retangularbox 

Java Beginners

java - Java Beginners
 

Java Beginners

swings - Java Beginners
swings  hi friends, I am working in gis project. i want to display a character/string at a specific point.For this i am using drawstring method , this is a inbuilt method in java, while using this method i am facing a small 

Java Beginners

java problem - Java Beginners
from a small Java program. HotelMain.java The aim of this class is to provide...java problem  Room.java This file defines a class of Room objects. The objects have the following instance variables:  number of beds in the room 

Java Beginners

java exercise - Java Beginners
java exercise  Pizza ordering program on Java! #write a program which prints out a little pizzaria menu card on the screen like: S.N Types.... similarly, the customer can order soft-drinks from this menu: S.N Name Small size 

Java Beginners

Java source code - Java Beginners
Java source code  Write a small record management application for a school. Tasks will be Add Record, Edit Record, Delete Record, List Records. Each Record contains: Name(max 100 char), Age, Notes(No Maximum Limit). No database 

Software Services

Social Media Marketing for Small Business
Social Media Marketing for Small Business We are providing Social Media Marketing for Small Business and small website owners at very attractive cost. Our Social Media Marketing services for Small Business are well designed and gives 

Struts Questions

Struts small complite project - Struts
Struts small complite project  I am a beginner in struts I want to do a project in Srtuts .can u please send me a small complete struts project . So that I can by taking the reference of that I can write good and effective 

Java Beginners

java - Java Beginners
 

Java Beginners

Java for beginners
Java for beginners  Java for beginners Which is the best resource... Java video tutorial for beginners. Thanks   Hi, Here are the best resources for Learning Java for beginners: Java Video tutorial Java tutorials 

Web Development

Small Business Marketing Services
Small Business Marketing Services These days Small Business around the work is looking for cheap, reliable and result oriented Small Business Marketing Services. The priority of Small Business is to find the best Small Business 

Eclipse Plugins

FindBugs PLug-in
;   FindBugs is a program to find bugs in Java programs. It looks for instances of "bug patterns" - code instances that are likely...: a stand-alone (Swing-based) Java application an ANT task an Eclipse Plug 

Java Beginners

java - Java Beginners
file from Jfilechooser... But we can see only a small portion... Can you help...("com.mysql.jdbc.Driver"); System.out.println("Creating a Mysql Table to Store Java... in Java Swing"); f.getContentPane().setLayout(null); final JTextField text = new 

Java Beginners

Java - Java Beginners
Java  Sir, My code is attached below.. I want to retrieve the image from database in the same panel in the original size... But it see in small size... CAn you help see tha retrive images in right side of the panel 

Java Beginners

java - Java Beginners
java  My code is attached below.. I want to retrieve the image from database in the same panel in the original size... But it see in small size... CAn you help see the retrive images inside a border in right side 

Java Beginners

OOP with Java - Java Beginners
. Assume a small airplane with seat numberings as follows: 1 A B C D 2 A B C D 3 

Java Beginners

servelets - Java Beginners
servelets  I want to develop a small web application using netbeans.It contains a user login page,after sign into the page it will shows a new window please send me links(only links) contains theory information........   

Java Beginners

java beginners doubt!
java beginners doubt!  How to write clone()in java strings 

Java Beginners

programming - Java Beginners
programming for java beginners  How to start programming for java beginners 

Java Beginners

what is a indentifier - Java Beginners
is the definition?  An identifier is an unlimited-length sequence of Java letters and Java digits, the first of which must be a Java letter. An identifier cannot... that is a Java letter (see below) JavaLetterOrDigit: any Unicode 

Java Beginners

Java for beginners - Java Beginners
://www.roseindia.net/java/beginners/index.shtml Thanks...Java for beginners  Hi! I would like to ask you the easiest way to understand java as a beginner? Do i need to read books in advance 

Java Beginners

swings - Java Beginners
for this in google, but i got very difficult programs. i am beginner in java swings . i want a small example to add a image .gif file to combobox list. thank you   Hi...); } } For more information, visit the following link: http://www.roseindia.net/java 

Java Beginners

Good tutorials for beginners in Java
Good tutorials for beginners in Java   Hi, I am beginners in Java... in details about good tutorials for beginners in Java with example? Thanks.   ... the various beginners tutorials related to Java http://www.roseindia.net/java/beginners 

Java Beginners

session in jsp - Java Beginners
=session.getAttribute("user"); out.println("welcome"+sessionuser); A small application 

Java Beginners

arrays help - Java Beginners
the values in another array B. Mark the largest value in A with a very small 

Java Beginners

sorting - Java Beginners
the values in another array B. Mark the largest value in A with a very small value 

Java Beginners

code problem - Java Beginners
there is some small error in it.I want you to correct it and also I want to print 

Java Beginners

sir - Java Beginners
sir,i am mentioning the error as <<>>>......main bug here> 

Java Beginners

jar file - Java Beginners
it more usable,. JAR file size is very small as compared to the class file. So, it is downloaded fast from internet and can used on the fly.The JAR or Java Archive... an application packaged as a JAR file (requires the Main-class manifest header)java -jar 

Java Beginners

servelets - Java Beginners
servelets  I want to develop a small web application using netbeans.It contains a user login page,after sign into the page it will shows a new panel. Plese send me links which contains theory and practical 

Java Beginners

Pizza Order..?? - Java Beginners
the cost of the entire order. Small pizza costs RM9.90, a medium pizza... is a character of value ?s?, ?m?, or ?l? to indicate small, medium, or large...; String size; enum PizzaSize { SMALL(9.90), MEDIUM(13.90), LARGE(15.90 

Java Beginners

Java - Java Beginners
Java  how to declare arrays   Hi Friend, Please visit the following link: http://www.roseindia.net/java/beginners/array.shtml Thanks 

Java Beginners

HIIIIIIII - Java Beginners
; hai frnd..... make a small change in the jsp .... at the href tag.....i 

Java Beginners

string - Java Beginners
and the rest of the word in small letters. 3.A boy enters a string in which he 

Java Beginners

OOP with Java-Array - Java Beginners
OOP with Java-Array  Write a program to assign passengers seats in an airplane. Assume a small airplane with seat numberings as follows: 1 A B C D 2 A B C D 3 A B C D 4 A B C D 5 A B C D 6 A B C D 7 

Java Beginners

beginners questions
beginners questions  I need all the possible Java beginners questions to prepare for an Interview 

Management

Small business management courses online
Small business management courses online Small-scale business today has... for running a small-scale business or becoming a large business entrepreneur. Management... is of utmost important like big business organisation. For small scale business 

Java Beginners

complete the program - Java Beginners
complete the program   Problem Task Your task is to develop part of a program that sorts array of integers in ascending order (small to large). The program prompts the user to enter a list of integer numbers then process them 

Java Beginners

Caterer Company - Java Beginners
Caterer Company  Local Caterer?s Company operates a small catering service. They ask you to write an application for them to schedule their catering events. They mostly cater special events, but they occasionally cater 

Java Beginners

basic java - Java Beginners
basic java  oops concept in java ?  Hi Friend, Please visit the following links: http://www.roseindia.net/java/beginners/oop-in-java.shtml http://www.roseindia.net/java/learn-java-in-a-day/oops.shtml Thanks 

Java Beginners

ARRAY SIZE!!! - Java Beginners
){ } } } Its just a small question as to how to intialize the array when u don't 

Java Beginners

an error - Java Beginners
) { // Print in preorder with some formatting - only for small trees if (t 

Web Development

Social Media Marketing for Beginners
Social Media Marketing for Beginners Most of you may be familiar with social... for Twitter be careful as it accepts small piece of content only so be concise and crisp... an impressive start to the beginners. < 

Eclipse Plugins

Deployer
Deployer       This is a bug fix release. No new features. The deploy action.... It's written in Java and released under the Lesser General Public License (LGPL 

Java Beginners

To provide Help Option - Java Beginners
To provide Help Option  hi i am writing one small application there i wanted to provide "Help" button to user.From there they will be geting how to run the application. I have seen in so many application where they r having 

Java Beginners

MovieRating class - Java Beginners
;" + " a small " + fam.ourCat.cat_color + " " +fam.ourCat.MyCatType+ " cat 

Java Beginners

c c++ - Java Beginners
c c++  Write a small record management application for a school. Tasks will be Add Record, Edit Record, Delete Record, List Records. Each Record contains: Name(max 100 char), Age, Notes(No Maximum Limit). No database should 

Java Beginners

java - Java Beginners
java  ...can you give me a sample program of insertion sorting... with a comment,,on what is algorithm..   Hi Friend, Please visit the following link: http://www.roseindia.net/java/beginners/arrayexamples 

Management

What are prospects of small Business management?
Small business management is the process by which all the available resources.... As by name, it is the case of small business management so such business activity starts with a very low cost and on a part time basis. Small business starts 

Advertisements Advertisements
 

 

 

DMCA.com