Name Clash with Java Class

I have a web dynpro track.  In my DC I use a java class that is in the src/packages directory.  Somehow the connection between my SpiritCalendar.java class on my PC and the one in the repository have come apart.  The repository browser shows the SpiritCalendar.Java class with the local house symbol next to it and the words SpiritCalendar.java <Name Clash>. 
The differences between the two versions is just one method so I'm not scared of deletes. Natually, this is stopping the build since I use the new method.
Any guidance on how to fix this?
Diane

I just tried to do an Edit File in this Folder from my UTIL folder.  The other Java Class checked out fine.  The SpiritCalendar class gave a  Sync Failed due to the name clash
08:25:57.693  SYNC  (FAILED: File has local-remote name clash)  SpiritCalendar.java
  (D:\NWDI Development Configuration\4\DCs\spiritaero.com\cats\emp\timevrfy\_comp\src\packages\com\spiritaero\cats\empl\util\SpiritCalendar.java)
     08:38:59.360  SUCCEEDED: Created activity act_w_MTEHRC2_spiritaero_2e_com_MTE_2d_CATS_2d_CUSTOM_dev_inactive_u_s0002916_t_2009_01_30_14_38_59_GMT_de7d6ee2-3a90-4d19-92ee-9f0873308fff
     08:39:01.172  EDIT  (SKIPPED: File is local-only)  SpiritCalendar.java  
(D:\NWDI Development Configuration\4\DCs\spiritaero.com\cats\emp\timevrfy\_comp\src\packages\com\spiritaero\cats\empl\util\SpiritCalendar.java)
     08:39:01.469  EDIT  StringUtility.java   (D:\NWDI Development Configuration\4\DCs\spiritaero.com\cats\emp\timevrfy\_comp\src\packages\com\spiritaero\cats\empl\util\StringUtility.java)
     08:39:02.110 ==> Finished in 985ms. 1 file succeeded (8428 bytes). 1 file skipped (51066 bytes).

Similar Messages

  • Jsp name clashes with package of same name (WL5.1)

              I have the following directory structure, well not really, but anyway...
              foo.jsp
              foo/bar.jsp
              The compilation of foo.jsp will fail stating that "jsp_servlet/_foo clashes with
              package of same name".
              The problem is that you can't have a jsp and directory of the same name. Actually,
              to be specific, you can't only if that directory contains another jsp, which in
              my case it does.
              What can I do so that weblogic will allow me to have a directory and jsp with
              the same name?
              thanks,
              -Steve
              

              Well, adding a prefix like dir to get dir_foo only works if you
              don't have a class called dir_foo, right?
              I'm sure you can come up with other mechanims for munging names
              and I'm also sure that I can come up with examples where they
              don't work.
              Mike
              "steve" <[email protected]> wrote:
              >
              >I'd like to say no, but unfortunately that's not really an
              >option. It should be possible to drop in a jsp file
              >under my document root anywhere that I might have an html file.
              >
              >I agree java limits you from having a class and package of the
              >same name. But weblogic constructs the package names, so it can ensure
              >a conflict
              >does not happen.
              >
              >For instance, the "packagePrefix" JSPServlet initialization
              >argument that defaults to "jsp_servlet" avoids package
              >conflicts. Similarly, I'm suggesting a "directoryPrefix"
              >argument that would avoid the conflict that I'm running up
              >against.
              >
              >Given the same boring example:
              >foo.jsp
              >foo/bar.jsp
              >
              >and using a directoryPrefix of "_dir" it would be mapped to
              >
              >jsp_servlet/_foo.class
              >jsp_servlet/_dir_foo/bar.class
              >
              >Any thoughts?
              >
              >"Mike Reiche" <[email protected]> wrote:
              >>
              >>I believe that is a limitation of Java, not Weblogic.
              >>
              >>Just say no.
              >>
              >>Mike
              >>
              >>"Steve" <[email protected]> wrote:
              >>>
              >>>I have the following directory structure, well not really, but anyway...
              >>>foo.jsp
              >>>foo/bar.jsp
              >>>
              >>>The compilation of foo.jsp will fail stating that "jsp_servlet/_foo
              >>clashes
              >>>with
              >>>package of same name".
              >>>
              >>>The problem is that you can't have a jsp and directory of the same
              >name.
              >>>Actually,
              >>>to be specific, you can't only if that directory contains another jsp,
              >>>which in
              >>>my case it does.
              >>>
              >>>What can I do so that weblogic will allow me to have a directory and
              >>>jsp with
              >>>the same name?
              >>>
              >>>thanks,
              >>>-Steve
              >>
              >
              

  • Accessing MS Sql Server with Java classes - problem connecting to socket

    I found an example at this location which uses java classes to connected to MS Sql Server.
    http://search400.techtarget.com/tip/1,289483,sid3_gci1065992,00.html
    --bummer - it is a login location - so I will include the article
    Anyway, the example is using Websphere, but I am still on Jbuilder (will get wsad soon). So I planted the classes from the example in
    C:\Borland\JBuilder\jkd1.4\jre\lib\ext\...the classes
    Then I copied the code from the example to my jpx project and got an error that it could not connect to the socket. The only thing I changed in the code was the connection string:
    --original string from example:
    Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://1433", "");
    I was getting an error with the 2 argument version of DriverManager - and the second argument here was empty (properties argument). Here was my connection string:
    Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://Myserver:1433;User=sa;Password=");
    I am only using the 1 argument version of DriverManager. Note that the password=" is blank because my RnD workstation is standalone - no one accesses the sql server except me - so no password. I also left out the last semicolon I noticed. Any suggestions appreciated how I could fix this.
    Thanks
    source of article:
    http://search400.techtarget.com/tip/1,289483,sid3_gci1065992,00.html
    iSeries 400 Tips:
    TIPS & NEWSLETTERS TOPICS SUBMIT A TIP HALL OF FAME
    Search for: in All Tips All search400 Full TargetSearch with Google
    PROGRAMMER
    Sample code: Accessing MS SQL Server database from the iSeries
    Eitan Rosenberg
    09 Mar 2005
    Rating: --- (out of 5)
    Nowadays with the help of Java the iSeries can be integrated with other databases quite easy. This tip shows you how. The code included here uses the free Microsoft driver that can be downloaded from here. (SQL Server 2000 Driver for JDBC Service Pack 3)
    If your SQL server does not include the Northwind Sample Database you can find it here.
    http://www.microsoft.com/downloads/details.aspx?familyid=07287b11-0502-461a-b138-2aa54bfdc03a&displaylang=en
    The download contains the following files:
    msbase.jar
    mssqlserver.jar
    msutil.jar
    Those files needs to be copied to the iSeries directories (/home/r_eitan/ExternalJARs).
    Here's the directory structure (on the iSeries) for this sample:
    /home/r_eitan/ExternalJARs - Microsoft files (msbase.jar,mssqlserver.jar,msutil.jar)
    /home/r_eitan/JdbcTest02 - My code (Main.java,Main.class)
    The Java code
    import java.sql.*;
    import java.io.*;
    class Main {
    * Connect to Microsoft SQL server and download file northWind.products as tab
    * seperated file. (products.txt)
    public static void main(String args[]) {
    try {
    PrintStream outPut = new PrintStream(new BufferedOutputStream(new FileOutputStream("products.txt")));
    Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
    //Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://1433", "");
    Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://Myserver:1433;User=sa;Password=");
    System.out.println("Connection Done");
    connection.setCatalog("northWind");
    String sqlCmdString = "select * from products";
    Statement statement = connection.createStatement();
    ResultSet resultSet = statement.executeQuery(sqlCmdString);
    ResultSetMetaData resultSetMetaData = resultSet.getMetaData();
    int columnCount = resultSetMetaData.getColumnCount();
    // Iterate throught the rows in resultSet and
    // output the columns for each row.
    while (resultSet.next()) {
    for (int index = 1; index <=columnCount; ++index)
    String value;
    switch(resultSetMetaData.getColumnType(index))
    case 2 :
    case 3 :
    value = resultSet.getString(index);
    break;
    default :
    value = """ + resultSet.getString(index) + """;
    break;
    outPut.print(value + (index < columnCount ? "t" : ""));
    outPut.println();
    outPut.close();
    resultSet.close();
    connection.close();
    System.out.println("Done");
    catch (SQLException exception)
    exception.printStackTrace();
    catch (Exception exception)
    exception.printStackTrace();
    --------------------------------------------------------------------------------------------------

    My guess is that the server's host name isn't right. It necessarily (or even usually) the "windows name" of the computer. Try with the numeric IP address instead (type "ipconfig" to see it).
    First aid check list for "connection refused":
    - Check host name in connect string.
    - Check port number in connect string.
    - Try numeric IP address of server host in connect string, in case name server is hosed.
    - Are there any firewalls between client and server blocking the port.
    - Check that the db server is running.
    - Check that the db server is listening to the port. On the server, try: "telnet localhost the-port-number". Or "netstat -an", there should be a listening entry for the port.
    - Try "telnet serverhost the-port-number" from the client, to see if firewalls are blocking it.
    - If "telnet" fails: try it with the numeric ip address.
    - If "telnet" fails: does it fail immediately or after an obvious timeout? How long is the timeout?
    - Does the server respond to "ping serverhost" or "telnet serverhost" or "ssh serverhost"?

  • Problem with java classes

    i have made some java files in java project but when i compile the files
    it gives me error " error 300 : classes are not found "
    <<should the classes be created automatically or i have to create them>>
    i will post more info if necessary

    Are you using an IDE? Are you just starting with Java? If so, it's generally recommended to not start with IDEs because you tend to miss learning about some basic fundamentals.
    As for obvious problems.... I'm not sure these aren't just cuz you posted them here wrong, but I'm not going to assume that...
    If the file is driver.java, the class name has to be driver, not Driver. It's case sensitive. The public class name (I say public cuz you can define multiple classes in one java file) has to have the same name as the java file. So that could cause problems.
    The other thing is what you set up in the CLASSPATH system variable. If you don't know what this is, you should go here:
    http://java.sun.com/docs/books/tutorial/
    and start reading from the begining.

  • Error 'Inconsistent datatypes' with Java classes

    Hi,
    I have some Java classes loaded in Oracle 8.1.6, mapped as Object Types, so when I create one object from PL/SQL, JVM ought to create the matching Java object, communicating via the SQLData interface.
    Unfortunately, after the code:
    pippo:=OraMailer('mail.server.com','mymail');
    that creates the PL/SQL object, any code that use member procedures or function wrapping instance methods of the Java class fails with the error 932: Inconsistent datatypes.
    I looked for a mistake in my PL/SQL and Java code, but no error was found.
    It is very important: help me!!!
    Thx

    So here is what you are doing:
    ArrayList results = //get employees from database
    ListIterator langIt = results.listIterator();
    while (langIt.hasNext()) {
      Employee emp = langIt.next();
      String name2 = emp.getName();
      String SSNo = emp.getSSNum();
      results.add(name2);
      results.add(SSNo);
    }So you get a list or Employee objects, then you get an iterator over the list. For each Employee in the list you add the name and SSNo as Strings back to the same list. From the API for ConcurrentModificationException the exception can be thrown when you modify a collection while iterating over the collection - which is precisely what you are doing.
    The ListIterator interface allows you to modify the list through its own methods. Try using:
      langIt.add(name2);
      langIt.add(SSNo);instead.
    Why are you taking the name and SSNo out of the Employee object and placing them back in the same List anyway? That makes no sense to me.

  • XSLT Mapping with Java class not working in Integration Repository

    Hi,
    I have an XSLT mapping program with Java enhancement and I was able to successfully tested it in Stylus Studio. However, when I imported the Java class and the xslt program in Enterprise Service Builder and tested it, my program does not compile.
    Here is the error message: "Transformer Configuration Exception occurred when loading XSLT mapping_temp.xsl; details: Could not compile stylesheet".
    My java program is in a zip file containing SOAPHeaderHandler.java and SOAPHeaderhandler.class. My Java has a package com.nga.xslt.
    Here is the declaration of my Java class in the XSLT: xmlns:javamap="java:com.nga.xslt.SOAPHeaderHandler"
    It seems that it could not read the java class. Can you please advice what is wrong?

    Hi ,
    select XMLTOOLKIT option in Operation mapping and execute it.
    I am not sure we can call java program in XSLT Program,but alternative is copy the code and use it in XSLT mapping it self,that means your XSLT program will become with JAVA extensions.
    then in Operation mapping level select SAPXMLTOOL kit option and execute it. i hope it will work. if it is not working then you have deploy some JAXP files on server,because the way execution of XSLT Mpaping program got changed,like when eve you executing XSLT with extnasions( if you are not using XMLTOOL kit option) then you have to use latest version of JAXP.JDK files.
    Regards,
    Raj

  • BC-XI V3.0 Message Mapping with Java Class

    Hi all
    In the Integretion Builder Design i try to import a Java Class in order to convert a source to a target field. I have created an tested the class with the eclipse V3.0.
    If i import the source in a customized mapping function i always get the error:
    "OFFMANNONLINESHOP_ORDER2SAP_ORDERS05_MSGMAP01 hat keinen Quellkode."    (...message..has no source code)
    I have also imported the import classes in the "Imported Archives".
    This message always appear if the import line for the classes is filled.
    Do somebody knows this problem
    Message was edited by: Christoph Borst
    Message was edited by: Christoph Borst
    Message was edited by: Christoph Borst

    Hi ,
    select XMLTOOLKIT option in Operation mapping and execute it.
    I am not sure we can call java program in XSLT Program,but alternative is copy the code and use it in XSLT mapping it self,that means your XSLT program will become with JAVA extensions.
    then in Operation mapping level select SAPXMLTOOL kit option and execute it. i hope it will work. if it is not working then you have deploy some JAXP files on server,because the way execution of XSLT Mpaping program got changed,like when eve you executing XSLT with extnasions( if you are not using XMLTOOL kit option) then you have to use latest version of JAXP.JDK files.
    Regards,
    Raj

  • Issue with Java Class based DataControls.

    Hi,
    I'm actually working with JDev 11.1.1.3.0.
    And we got a requirement to build a search page which should create a dynamic query. And we are not using ADF BC in this project.
    Instead, writing some ServiceDelegates(Java Classes) which internally calls EJB services to do CRUD operations.
    Finally, created DataControls using these Service Delegates to design UI.
    Now one thing is clear that .... we are using java class based service delegates.
    *Issues
    =======
    1. I have a table with 4 columns, in which 2 columns are of type selectOneChoice.
    2. Now, based on first selectOneChoice selection ... second selectOneChoice should display corresponding values. It is something like this. First select one choice contains all KEYS. Based on the KEY selection second select OneChoice should display VALUES corresponding to the KEY.
    3. I have around 20 KEYS in the first selectOneChoice.
    4. User can add rows to the table as many as they want.
    5. For each row, the first selectOneChoice is same(contains same keys).
    The issue is, For the first time(when user logs into the screen ....) the table will be displayed with one row which contains 2 selectOnechoices and 2 inputText boxes and a ADD button at the end of each row.
    1. User selected a KEY from first selectOneChoice. Hence, second selectOneChoice populates values corressponding to KEY. And user clicked on ADD button.
    2. Now the first row was like that only. And a new Row got added to the table.
    3. In the second row ... Now user selected a different KEY in first selectOneChoice. And the second selctOneChoice displayed values corresponding to KEY selected.
    4. This is also fine. But now, when user tried to click on ADD button to add THIRD ROW ... the table got added with a new row.
    5. Here is the problem.... From here onwards, whenever any new row get added to the table ... the first row's second selectOneChoice values are setting with values of second row's secondSelectOneChoice.
    6. Finally ... what i'm trying to do is, the second selectOneChoice should not get affected/refreshed because of adding a new row.
    If it is not clear ... please share your email address. I can share the sample code with you.
    This is an high priority task given to me.
    Please let me know your comments ASAP.
    Thanks & Regards,
    Kiran Konjeti

    You could try the following to see where the class was loaded from.
    System.out.println(ResourcesAndRatesForm.class.getProtectionDomain().getCodeSource());

  • Problem running with "java class"

    Hi:
    I developed an application in Forte. It works as expected within the IDE. I would like to run it outside the IDE with "java application.class". When I try this, it cannot find many modules. I realize I need to set the classpath, but don't know what to set it to.
    Please help.
    vjktm

    r u using windows?
    if so
    try this
    open up the dos
    then type the following command
    set classpath = drive:\directory\.
    drive - your working drive
    directory - where you put ur java source and class files
    make sure you have the . at the end of the cammand.

  • Still got problems with java class business operations

    Hi all,
    I've read the latest on business operations and java class files, but my problem
    remains - the workaround of putting the class file in the studio classpath did
    not work for me.
    To breifly recap the problem -
    I am unable to assign an instance variable when trying to call a predefined business
    operation of a java class. Calling the constructor seems to work okay and I can
    assign the result to a variable of type "java object" but that's as far as it
    goes. If I try placing the class file in the studio classpath, my "Instance Variable"
    dropdown list dims, but I am still prompted to choose one when I press okay.
    I'm using process integrator 2 sp2 on wls6.
    Please help!
    Regards
    Andrew

    Still no good. I'm running my testing on my own PC with windows 2000. Maybe a
    windows bug rather than a remote bug?!
    Anyone else have a suggestion?
    "Soteri Panagou" <[email protected]> wrote:
    >
    Andrew
    What platform are you running on?
    I have found the same problem when trying to run wlpi remotely.
    We have a sun box with the WLI installation. When i run wlpi on that
    box, and
    do the business operation configuration as u describe below, i get instance
    variables
    populated in the drop down box of the business operation window. I can
    then select
    the java object my instance is assigned to.
    However, when i connect remotely using the studio and try to view the
    business
    operation settings, nothing appears in the instance drop down box.
    When i go back to the console and run the studio on the same machine
    as the installation,
    the instance variable drop down is populated once again.
    So all i can say is, configure the workflow on the machine have the running
    installation,
    and then it should work. It did for me :)
    Hope this helps
    Steri
    "Andrew" <[email protected]> wrote:
    Hi all,
    I've read the latest on business operations and java class files, but
    my problem
    remains - the workaround of putting the class file in the studio classpath
    did
    not work for me.
    To breifly recap the problem -
    I am unable to assign an instance variable when trying to call a predefined
    business
    operation of a java class. Calling the constructor seems to work okay
    and I can
    assign the result to a variable of type "java object" but that's asfar
    as it
    goes. If I try placing the class file in the studio classpath, my "Instance
    Variable"
    dropdown list dims, but I am still prompted to choose one when I press
    okay.
    I'm using process integrator 2 sp2 on wls6.
    Please help!
    Regards
    Andrew

  • Package name ending with .java

    Hi,
    I have some trouble with a package name ending with "fragments.java". When I use 'packagenames' javadoc complains when it reaches that package.
    I'm guessing javadoc thinks it's a source file and tries to parse it as such.
    I have found a workaround by using 'subpackages' instead of 'packagenames' but I want it work with ant, which doesn't support the subpackages flag.
    Is there a way to get around this?
    - Henrik

    Not at all.
    Assume that there is a package called something.smthing.java
    Then this won't work:
    <javadoc sourcepath="${src_dir}" destdir="${doc_dir}"
    packagenames="something.*"/>
    It will give the following error message because it thinks it is a source file:
    [javadoc] Loading source file something.smthing.java...
    [javadoc] error: cannot read: something.smthing.java
    So, you can get around that by doing like this instead:
    <javadoc sourcepath="${src_dir}" destdir="${doc_dir}"
    packagenames="something"
    additionalparam="-subpackages something"/>
    Which gives the -subpackages option to javadoc.

  • Using  javascript  in windows host scripting to communicate with java class

    Hi,
    I have to use a legacy system that works on a windows platform.
    the system uses javascript to perform the logic.
    I wouild very much like to remove the javascript from the equation but cannot !
    however I presume that the javascript could delegate the logic to an underlying java object (this is not a web application mind you so the java script is not document based and I cannot use applets).
    I know that Rhino and Ojs have this abilitiy but as the legacy system uses the WHS that is what I need to use too.
    In other words, how do I invoke java methods belonging to pure java objects from within a javascript file using the windows scripting host interpreter ?
    thanks very much in advance.

    Hi,
    I have to use a legacy system that works on a windows
    platform.
    the system uses javascript to perform the logic.
    shudder
    [snip]
    In other words, how do I invoke java methods
    belonging to pure java objects from within a
    javascript file using the windows scripting host
    interpreter ?
    shudder
    as the previous poster said, you likely need to wrap your Java classes in some COM object. But why are you wanting to introduce this additional complexity into your system?

  • SQL user defined type mapping with Java Class type

    SECRET_TAB_TYPE is userdefined type in SQL Schema. but accessing this way it is giving invalid column type error(see code below )??
    I have made a class with same name attributes as in SQL Type
    Connection con = DriverManager.getConnection(URL,Username, Password );
    java.util.Map map = con.getTypeMap();
    map.put("SchemaName.SECRET_TAB_TYPE",Class.forName("SECRET_TAB_TYPE"));
    CallableStatement pstmt = con.prepareCall( "{ call smartapi.FetchSharedSecret(?,?,?,?,?,?) }" );
    pstmt.setString(1,"SM");
    pstmt.setString(2,"BT");
    pstmt.setString(3,"COM");
    pstmt.registerOutParameter(4, Types.JAVA_OBJECT);//
    pstmt.registerOutParameter(5,Types.VARCHAR);
    pstmt.executeQuery();
    secret_tab=(SECRET_TAB_TYPE)pstmt.getObject(4);
    message= pstmt.getString(5);

    STATS_T_TEST_
    docs.oracle.com/cd/B19306_01/server.102/b14200/functions157.htm 
    STATS_T_TEST_ONE: A one-sample t-test
    STATS_T_TEST_PAIRED: A two-sample, paired t-test (also known as a crossed t-test)
    STATS_T_TEST_INDEP: A t-test of two independent groups with the same variance (pooled variances)
    STATS_T_TEST_INDEPU: A t-test of two independent groups with unequal variance (unpooled variances)

  • 3 Levels Master Detail View Object with Java class interface

    Hi Developers,
    I've created 3 tables with one to many relations as below
    BOARD ------<- APPLICANT ------<- QUALIFICATION
    a board includes many applicants and an applicant includes many qualifications.
    When I add these tables to a Fusion Project, JDeveloper 11g helps me to add the Entity Links and View Associations automatically.
    Then, I defined these relations in an ApplicantModule's Data Model as below.
    [+] BoardVO1
          |
          |--[+] ApplicantVO1
                   |
                   |--[+] QualificationVO1The problem is: I cannot write any function in QualificationVO and publish it by client interface.
    I created a simple function with a single line (System.out.println(...) ) in QualificationVOImpl.java. and selected it in Client Interface. But when I execute it from the ApplicantionModel for testing, an oracle.jbo.NoObjException JBO-25003 is raised. with message: Object ... ApplicantVO1 of type ApplicationModule not found.
    Has anyone tried to implement some coding in the third level of a master details view structure as my example? How do you make it works?
    I'm using JDeveloper 11.1.1.3 with ADF BC.
    Regards,
    Samson Fu

    Samson,
    Looks like a bug (probably with the application module tester). I created your tables:
    create table board(board_id number primary key not null);
    create table applicant(applicant_id number primary key not null, board_id number not null);
    create table qualification(qualification_id number primary key not null, aplicant_id number not null);
    alter table applicant add a_fk foreign key(board_id) references board;
    alter table qualification add q_fk foreign key(aplicant_id) references applicant;I created a JDev project and got the same results. I've e-mailed a test case off to Frank.
    Frank - the method is indeed exposed on the VO instance, and I tried testing that way, but the AM tester gives the error as if it is looking for an AM instance with the VO's name.
    John

  • Arrays that work with Java Class

    Good Day all.
    Currently, I am working on a program that is giving me a bit of trouble starting...can anyone give me assistance and try to tell me what I am doing incorrectly?
    Here is the tasking:
    Main Method
    1. Output statement to screen saying this program will accept hours worked for 3 employees.
    2. Declare an Integer Array to hold 3 employees hours. Call this array "employees"
    3. Main Method then calls inputData Method (Passing array as argument) do not accept any return value.
    4. Main Method then calls outputData Method (Passing array as argument) do not accept any return value.
    import java.util.*;
    import java.text.DecimalFormat;
    public class Arrays
    { /*This starts the Arrays*/
         public static void main (String[] args)
         Scanner scannerObject = new Scanner(System.in);
         Scanner keyboard = new Scanner(System.in);
    inputData(employees);
         System.out.println("This program will accept hours worked for 3 employees.");
         String[]employees = new String [3];

    How am I coming along....I started with the MAIN Method...Now I have started and created a MONSTER with this other portion of my program
    Main Method
    1. Output statement to screen saying this program will accept hours worked for 3 employees.
    2. Declare an Integer Array to hold 3 employees hours. Call this array "employees"
    3. Main Method then calls inputData Method (Passing array as argument) do not accept any return value.
    4. Main Method then calls outputData Method (Passing array as argument) do not accept any return value.
    InputData Method (Receives Arrary)
    1. Gers input using a for loop for each employees hours into the array elements.
    2. Prompt the user with the following phrase. Enter hours worked for employee #: (Where # is the employee number 1-3)
    Can anyone tell me what is going god awfully wrong with this program? LAUGHING
    SUSAN
    import java.util.*;
    import java.text.DecimalFormat;
    public class CS219Arrays
    { /*This starts the Arrays*/
    public static void main (String[] args)
    Scanner scannerObject = new Scanner(System.in);
    Scanner keyboard = new Scanner(System.in);
    int numberOfHours = 0;
    System.out.println("This program will accept hours worked for 3 employees.");
    String[]employees = new String [3];
    for (int index = 0; index < employees.length; index ++)
    System.out.println(employee[index]);
    /*** Used to get input from the user and store the results in an array
    @param employees The array to store the data that the user enters in*/
    public static void inputData(String[] employees) {
    // Get user input and place it in the employees array
    /*** Used to output the data @param employees the array to output*/
    private static void outputData(String[] employees) {
    // Display each element of the employees array
    System.out.println("Enter hours worked for employee #: (where # is the employee number 1-3)");
    numberOfHours = keyboard.nextInt();
    }

Maybe you are looking for