Search:

Type: Posts; User: FJIW

Search: Search took 0.43 seconds.

  1. Replies
    10
    Views
    4,935

    [SOLVED] Re: Error: Class,interface or enum expected

    Ok here what I did,
    Renamed the program to Lamp. Now the program name and the class name is same.
    Removed the calltomethod class as it was not required. Compiled the c

    And it works now.

    I...
  2. Replies
    10
    Views
    4,935

    [SOLVED] Re: Error: Class,interface or enum expected

    Hi Sean4u,

    I compiled the filename PrgLamp.java and it compiled without errors. When I try to run the code using following command java PrgLamp

    it throws below error:Could not find or load main...
  3. Replies
    10
    Views
    4,935

    [SOLVED] Re: Error: Class,interface or enum expected

    Ok please pardon my lack of knowledge here. I tried the instructions but seems like I am doing something wrong. I m still receiving the same error could not find or load the main class PrgLamp.


    ...
  4. Replies
    10
    Views
    4,935

    [SOLVED] Re: Error: Class,interface or enum expected

    Thank you Sean4u,

    I somehow managed to get rid off these errors.... but I cannot understand the below error where it says couldnot load the main class (class name.java). I also got the same error...
  5. Replies
    10
    Views
    4,935

    [SOLVED] Error: Class,interface or enum expected

    Hello Every 1;

    I am trying to compile the following simple code and receiving the error:

    Class Lamp{

    //define behaviour

    int brightness = 0;
  6. Replies
    2
    Views
    755

    Comparing similar elements in an array

    Dear All-

    While working on a programming in (Basic Language) which we use for translating our customers data into ERP system, I came across an issue where I need to write the data to SQL. I am...
  7. Replies
    2
    Views
    241

    Re: New Learner and Need help.

    hi SerratedMind-

    thanks for your reply. I was able to update the path using the link above.

    And thank you for the IDE info.

    FJ
  8. Replies
    2
    Views
    241

    New Learner and Need help.

    Hello every one-

    this is my first time in this forum and first time in life to learn Java programming language. Hope I will have a fun and support from all community people here.

    first of all I...
Results 1 to 8 of 8