Page 2 of 2 FirstFirst 12
Results 21 to 24 of 24
  1. #21
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    The interface between computers and medicine that has for years held a lot of promise but has had little to show for it is only now really hitting its stride. Many of us in the medical field are getting very interested in computers, programming and such.

  2. #22
    fishtoprecords's Avatar
    fishtoprecords is offline Senior Member
    Join Date
    Jun 2008
    Posts
    571
    Rep Power
    7

    Default

    Quote Originally Posted by Fubarable View Post
    The interface between computers and medicine that has for years held a lot of promise but has had little to show for it is only now really hitting its stride. Many of us in the medical field are getting very interested in computers, programming and such.
    That is probably good (even great) news. I worked for three years in IT for healthcare. Most doctors are technology adverse. Which seems weird, since everyone knows about CAT scans, MRI, etc.

    But Doctors rarely touch computers, and don't understand any of the issues that we software professionals deal with. We don't even have a language to communicate with -- I mean English, not Java -- the problems that a doctor deals with have zillions of assumptions, and if they are not communicated to the software engineers, we won't write code to do it. Computers being anal, etc.

  3. #23
    jack239 is offline Member
    Join Date
    Jul 2008
    Posts
    35
    Rep Power
    0

    Default

    Welcome to the world of Java Doctor !! Hope you will prescribe some java technologies to your patient :)
    just joking...
    New to Java/PHP/Javascript development?
    For free help go to- www.techcubetalk.com

  4. #24
    jyde is offline Member
    Join Date
    Oct 2008
    Posts
    13
    Rep Power
    0

    Default Pls i need help with these 2 Java Questions Reply to Thread

    Quote Originally Posted by Norm View Post
    Sounds like a HW assignment.
    What help are you looking for?
    You provide the answers for the rest of the lines and we'll grade them.
    Hello Norm and CJSLMAN,sorry i have been missing in action-i was out of the country.Anyway,i have finished my assignments.Could you have a quick look before submitting in case you have any comments-thanks guys,i knew i could always count on you.



    /*
    Name: Jyde
    */
    1) class Cube { -describes a new java class called Cube.java and { is the start of the Cube class
    2) int side;-primitive data type integer for storing whole numbers for the instance variable
    3)}-close the cube class
    _________________________________________

    4) class MainCube {-describes a new java class called
    MainCube.java and this contains the special 'Main' method of the class
    { is the start of the MainCube class

    5) public static void main(String[] args) {-Program starts execution here
    Public means the method is open to the public
    Static means the programme can’t change throughout it’s lifetime
    Main describes the main method
    Void doesn’t return anything
    String-in text form. Strings are constant; their values cannot be changed after they are created.
    Args-this is responsible for taking input arguments and can store a list of parameters
    { shows the start of the ‘main’ method
    6) Cube c = new Cube ();-create a new cube instance and 'c' is the name of the object reference to the new instance
    7) c.side = 10;-assign the value of 10 to the instance variable
    8) System.out.println(“side is “ + c.side);-print the value to the console
    9)}-close the 'main' method
    10)}-close the MainCube class


    class Circle {
    double radius;
    final double Pi =3.14;

    double getsurfaceArea() {
    double surfaceArea;
    surfaceArea = Pi*radius*radius;
    return surfaceArea;
    }

    double getCircumference() {
    double circumference;
    circumference = 2*Pi*radius;
    return circumference;
    }

    }











    class MainCircle {

    // Program starts execution here
    public static void main (String args[]) {
    // create a new Circle instance/object
    Circle one = new Circle();

    // Read values from Console
    System.out.println("Please enter radius ");
    one.radius = Console.readDouble();

    // Read values from Console
    System.out.println("Please enter radius ");
    // Print the method return values to the Console
    System.out.println ("surfaceArea " + one.getsurfaceArea());

    // Print the method return values to the Console
    System.out.println ("circumference " + one.getCircumference());
    one.radius = one.radius + 10;

    // Print the method return values to the Console
    System.out.println ("surfaceArea " + one.getsurfaceArea());

    // Print the method return values to the Console
    System.out.println ("circumference " + one.getCircumference());
    }
    }

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Java Questions...
    By Xarver in forum New To Java
    Replies: 11
    Last Post: 09-20-2008, 06:37 AM
  2. Few Questions about java
    By Grom in forum NetBeans
    Replies: 11
    Last Post: 09-13-2008, 03:26 PM
  3. 2 simple java questions
    By jimJohnson in forum New To Java
    Replies: 2
    Last Post: 02-02-2008, 10:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •