User Profile

Collapse

Profile Sidebar

Collapse
sobe4481
sobe4481
Last Activity: Nov 14 '07, 07:45 PM
Joined: Nov 14 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • sobe4481
    replied to Java Question - i am REALLY confused
    in Java
    LOL - yep, i guess im lost.

    Read the 'Small Java' How To Program book

    after reading, i try to follow the diagrams they show me -- basically im seeing the class being built

    public class Gradebook

    private String courseName;

    public void setCourseName( String name )

    course name = name;

    i am missing some characters, i know - but its basically that...
    See more | Go to post

    Leave a comment:


  • sobe4481
    replied to Java Question - i am REALLY confused
    in Java
    lol, this is cracking me up, @ work right now losing my mind with this.

    and yea - i felt there was more that needed to be added because i had an extra mark in there which was giving me an error, which is why i added the semi-colon.


    import java.util.Scann er;

    public class Employee {
    private String firstName;
    private String lastName;
    private double salary;
    ...
    See more | Go to post

    Leave a comment:


  • sobe4481
    replied to Java Question - i am REALLY confused
    in Java
    public class Employee {

    private String firstName;
    private String lastName;
    private double salary;

    public Employee( String firstName, String lastName, double salary);
    }

    i am getting this when compiling::'


    Lab1/Employee.java [7:1] missing method body, or declare abstract
    public Employee( String firstName, String lastName,...
    See more | Go to post

    Leave a comment:


  • sobe4481
    replied to Java Question - i am REALLY confused
    in Java
    i love you guys, thanks so much it does help a lot !!!

    I will try to write this out, if i get stuck, ill be back :) printing this

    God Bless!
    See more | Go to post

    Leave a comment:


  • sobe4481
    replied to Java Question - i am REALLY confused
    in Java
    I've really had a tough time

    so is this two separate codes? [i am using NetBeans IDE]

    based on your response --- this is as far as i got without re-confusing myself :)

    public class Employee {


    public Employee() {
    }

    }

    Class was started, but what exactly do i do to create the instance variables [could i get any sample code or...
    See more | Go to post

    Leave a comment:


  • sobe4481
    started a topic Java Question - i am REALLY confused
    in Java

    Java Question - i am REALLY confused

    Hi all,

    I am taking a Java Course in Michigan to get into the flow of things , but i am completely stuck on one of the Labs.

    Here is what the Lab Asks for -

    Create a class called 'Employee' that includes three pieces of information as instance variaveles -- a first name (type String), a last name (type String) and a monthly salary (double). Your class should have a constructor that initializes the three...
    See more | Go to post
No activity results to display
Show More
Working...