|It is currently Thu Mar 28, 2024 10:39 am 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
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.

Urgently Require an iPhone Developer for Islamabad Office by itgeneration on Wed Mar 14, 2012 5:19 pm
Mobile Media City c/o Itgenerations a boutique of Iphone/ Ipad Applications having awesome Applications on App Store with amazing ratings. We provide awesome applications for the web, mobile and tablet platforms using a range of technologies. We are headquartered in Toronto, Canada and have an offshore development and support facility in South Asia. We deliver awesome Apps and ensure they deliver beyond your expectations.

The Jobs Details are:
Number of Posts: 2
Relevant Experience Required: 1 to 2 years
Education: Software Engineer (minimum)



The responsibilities are as below:

• Must be very strong in Objective-C, Cocoa, CocoaTouch, and XCode
• Excellent knowledge of the iPhone iOS SDK
• Excellent knowledge in UI design
• Application on AppStore is a plus
• Good communication skill is mandat...

[ Continued ]

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 ]

how to add multiple clients to the server in java? by artigautam on Sun May 08, 2011 5:10 pm
I ve to add 2 clients to the server,chatting between these clients will be through the server.but after running these following files only Cframe1 got connected to server but second client i.e. Clientframe1 didnt...what changes should I make to connect this second client??

Serverframe.java
Code:
import java.awt.*;
import java.applet.*;
import java.awt.event.ActionEvent;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.awt.event.ActionListener;
import java.net.*;
import java.io.*;
import java.lang.*;
class Serverframe extends Frame implements ActionListener
{
   Button b1,b2,b3;

   Label l1,l2,l3;

   TextField t1,t2,t3;

   TextArea t;

    boolean readSocketMem ;

    BufferedReader socketBR;


    BufferedWriter socketBW;

    Socket sref1,sref2;

   Serverframe()
   {


       setVisible(true);

      setSize(500, 500);

      setLayout(null);

      setTitle("Server Window");...


[ Continued ]

Google's Social Network Better Than Expected by GGen on Mon Apr 09, 2012 8:53 am
According to reports, Google Inc. has achieved greater success in its social networking feature than had been initially predicted and has enabled the company to atone for its alleged inattention in assisting their customers to connect with others online. According to reports, the average Google social network user averaged 3.3 minutes online, versus, Facebook
users, 7 ½ hours. The company alleges that in their efforts to become the leading Web-search provider, they failed to be competitive in the growing area of people connecting to one another socially via the internet.

Reportedly, in January, Google considered linking information from Google+ into search queries used by their customers. It has been reported that this generated unexpected challenges from privacy groups as well as competitors who claimed that by including the links, Google’s products were unfairly being promoted over other available resources online. This reportedly led to the U.S. Federal Trade Commission expanding it...

[ Continued ]

 [ 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