|It is currently Fri Mar 29, 2024 12:19 pm Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka


Blog Links

Blog Stats
4Total Entries
3Total Comments

Search Blogs


Category Blogs 
General Articles

General blog articles related to forums area or in general things.

1

Programming

Articles related programming (java,c++,csharp,dotNet)

1


 [ 24 blog entries ]  1, 2, 3, 4, 5  Next
Feed Random Blog Entries
array in function by farahinsamsudin on Sun Mar 17, 2013 5:35 am
i cant compile my coding because a several error. i'm try to find it by change its syntax. but it does not work. can anyone help me?

the question ask to display student name, total marks, and status.

Code:
import java.io.*;
import java.lang.*;


public class Assignment1 {
   public static void main(String[] args) {
      
      String studName[] = {"Aminah Binti Samad", "Putra Bin Abdul", "Muadz Bin Kassim", "Kaisara Binti Dollah", "Rahaman Bin Ismail"};
      int test1[] = {90, 45, 78, 80, 60};
      int test2[] = {40, 80, 78, 95, 93};
      int Marks = {0, 0, 0, 0, 0};
      String[] status = new String[5];
      
      CalculateMarks(test1, test2, Marks);
      DetermineStatus(Marks, status);
      Display(studName, Marks, status);
   }
   
   public static void CalculateMarks(int test1[], int test2[], int Marks[])
   {
      for(int i = 0; i < 5; i++)
      {
         int temptotalMarks = 0;
         Marks[i]...


[ Continued ]

NEED HELP FOR MY PROJECT IN RECONFIGURABLE ARCHITECTURE by arunrocky88 on Tue Sep 04, 2012 6:17 pm
HI
I AM ARUN, CURRENTLY DOING MY PROJECT IN RECONFIGURABLE ARCHITECTURE I NEED HELP FROM U GUYS .I NEED SOME CODE RELATED TO THIS PROJECT.HOW TO CONVERT THE INSTRUCTION INTO JAVA.PLEASE GIVE ME SOME SUGGESTIONS.

4 things to note down while using wait and notify method in java by javabuddy on Fri Jun 03, 2011 2:35 pm
while using wait and notify or notifyAll method in Java following things must be remember :

1) use notifyAll instead of notify if you expect more than one thread is waiting for lock.
2)wait() and notify() method must be called from synchronized context, see the link for more detailed explanation http://javarevisited.blogspot.com/2011/05/wait-notify-and-notifyall-in-java.html.
3) Always call wait() method in loop because if multiple threads are waiting for lock and one of them got lock and reset the condition and other thread needs to check the condition after they got wake up to see whether they need to wait again or can start processing.
4) use same object for calling wait() and notify() method, every object has its own lock so calling wait() on objectA and notify() on object B will not make any sense.

Blog feature added by codemiles on Fri Mar 11, 2011 10:54 pm
1 out of 52 out of 53 out of 54 out of 55 out of 5
Dear members,
Today, we have integrated a blog module to CODEMILES community .Blog module provides a big set features to each users. Users have the full control over their blogs. They can customize its content and share it with CODEMILES visitors. Users can comment on blog topics and also rank it. CODEMILES community has a good search Google rank, which means that CODEMILES bloggers can see their own posts ranked well over the web.
Come on, we are waiting your contribution…

CODEMILES TEAM.

Working and Life by DrRakha on Wed Mar 16, 2011 10:06 pm
Well , I started to hate my current job ,programming and solving the same type of bugs , I lost my goal and interest in it , when I think about people around ,I see that most of them work by the relation win-to-win. They always looking for money, but in fact money is not the only thing which will make someone happy. (Yes it is important), but it is not the main reason to be happy in your life, sometimes you see a man has millions then he kills himself. Well don’t that I am rich and I will kill myself: D, actually I don’t have a car. This life is a big race … rate race. Who will win??!

 [ 24 blog entries ]  1, 2, 3, 4, 5  Next

All times are UTC [ DST ]


cron






Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com