User Profile

Collapse

Profile Sidebar

Collapse
AbrahamNkomo
AbrahamNkomo
Last Activity: May 3 '12, 09:15 AM
Joined: Aug 25 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • AbrahamNkomo
    started a topic Synchronising threads
    in Java

    Synchronising threads

    l have this assignment to do:

    Synchronize access to the instance variable, accBalance. Because accBalance is a double and not an object, it cannot be used as the monitor. Use synchronized methods or synchronized blocks of code, as appropriate. Simultaniously test two threads. Because the threads can complete too quickly to determine if they are interfering with each other, delay the adding of a deposit by inserting the following code...
    See more | Go to post

  • AbrahamNkomo
    replied to import javax.swing.JOptionPane
    in Java
    l think you need check the spelling of java keyword that is "if" , it must have small letter "i" not capital letter .l think this help .
    See more | Go to post

    Leave a comment:


  • Object oriented design for more than one class . Java

    Hi .l am real new to programming . l have a problem with my code .l have tried to translate the following programming problem into java language but the problem l have is that l cannot create the subclass that is Cube class.Here is the programming problem:Design a class called Square with a value for the side of the square and validate that value and calculate the area of the square .The child class Cube will use the existing methods of the parent...
    See more | Go to post

  • AbrahamNkomo
    started a topic coding with java
    in Java

    coding with java

    hi everyone .l am a new programmer. l realy need the java code to solve the following problem :Design a class that will recieve an array of 30 mathematics exam ,calculate the class average from the score and display the class average to the screen.
    Thanks in advance
    Abraham Nkomo
    See more | Go to post
No activity results to display
Show More
Working...