Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #2252

Wont compile!!!

Received by 10.224.180.141 with SMTP id bu13mr7181961qab.2.1352592382647; Sat, 10 Nov 2012 16:06:22 -0800 (PST)
Received by 10.236.88.236 with SMTP id a72mr2057565yhf.20.1352592382626; Sat, 10 Nov 2012 16:06:22 -0800 (PST)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!c7no17702875qap.0!news-out.google.com!gf5ni18188417qab.0!nntp.google.com!c7no17702870qap.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.java.help
Date Sat, 10 Nov 2012 16:06:22 -0800 (PST)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=99.227.142.207; posting-account=tm6KRwoAAADGnhdd-uQ6AwmjhznV7fRo
NNTP-Posting-Host 99.227.142.207
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <35e5c178-ae32-4b1b-930e-5ab16276c3dc@googlegroups.com> (permalink)
Subject Wont compile!!!
From tyrelmatadin921@gmail.com
Injection-Date Sun, 11 Nov 2012 00:06:22 +0000
Content-Type text/plain; charset=ISO-8859-1
Xref csiph.com comp.lang.java.help:2252

Show key headers only | View raw


This code will not complile and it is really stressing me out.
If someone could help me out i would really apreciate it. thanks in advanced

package sheridan;

import java.util.Scanner;

public class PayrollStatement 
{
    PayrollStatement payState = new PayrollStatment();
    
    payState.printEmployeeName();
        
    public void printEmployeeName()
    {
        System.out.println ("Please enter name");
        Scanner input = new Scanner(System.in);
        String employeeName = input.nextLine();
        
        payState.isEmpty();
      
        
    }
    public boolean isEmpty();
    {
        String employeeName;
        if (employeeName == true)
        {
            System.out.println ("Not entered");
            Scanner input = new Scanner(System.in);
            String employeeName = input.nextLine();
        }
         
    }
}      

Back to comp.lang.java.help | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Wont compile!!! tyrelmatadin921@gmail.com - 2012-11-10 16:06 -0800
  Re: Wont compile!!! Knute Johnson <nospam@knutejohnson.com> - 2012-11-10 16:16 -0800
    Re: Wont compile!!! tyrelmatadin921@gmail.com - 2012-11-10 16:39 -0800
      Re: Wont compile!!! Knute Johnson <nospam@knutejohnson.com> - 2012-11-10 20:44 -0800
      Re: Wont compile!!! Roedy Green <see_website@mindprod.com.invalid> - 2012-11-11 02:51 -0800
  Re: Wont compile!!! Joerg Meier <joergmmeier@arcor.de> - 2012-11-11 01:51 +0100

csiph-web