CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 1 of 2 12 LastLast
Results 1 to 15 of 22
  1. #1
    Join Date
    Jul 2009
    Posts
    10

    Java Rookie looking for help compiling

    Can anyone tell me why this won't compile. Error " reached end of file while parsing" which probably means that the brackets are not paired. I got to the point where I was sticking brackets everywhere just to see if it would work. Need help. I have attached the java file.
    Attached Files Attached Files

  2. #2
    Join Date
    Apr 2007
    Posts
    425

    Re: Java Rookie looking for help compiling

    Please post the code in [Code ] [/code ] tags.

    (format them without spaces, i.e.)

    Code:
    public class SomeClass {
    
    }
    Not many people will bother extracting your application to look at the syntax.

  3. #3
    Join Date
    Jul 2009
    Posts
    10

    Re: Java Rookie looking for help compiling

    Like so?

    [import javax.swing.*;
    public class PrepareTax

    /*Chapter 7, Case Project "The Tax Advantage Company", Page 263.
    This is an application that prompts a user for inputs to create a Taxreturn object.
    Filename is PrepareTax.java
    Written by Mark DeMuynck
    Wednesday, July 7, 2009
    Java Version 6 Update 13 (build 1.6.0_13-b03)*/

    {
    public static void main(String[] args)throws Exception
    {
    String sinString = "999-999-999", firstString, secondString, thirdString;
    firstString = sinString.substring(0, 3);
    secondString = sinString.substring(4, 6);
    thirdString = sinString.substring(8, 10);
    String inputPostalCode = "a9a a9a", firstPcString, secondPcString;
    firstPcString = inputPostalCode.substring(0, 3);
    secondPcString = inputPostalCode.substring(4, 6);
    String inputStatus;
    String inputIncome;
    double income;
    char errstatus = 1;
    char errstatus2 = 1;
    int length;
    int lengthpc;

    while (errstatus == 1)
    {
    sinString = JOptionPane.showInputDialog(null,
    "Enter your Social Insurance Number with format 999-999-999.");
    length = sinString.length(); //Capturing the length of the input.
    if ((length != 11) || (sinString.charAt(3)!= '-') || (sinString.charAt(7)!= '-')) //Checking for length and dashes
    {
    JOptionPane.showMessageDialog(null,
    "You entered an invalid entry. "
    + sinString + "\nRe-enter your Social Insurance Number with dashes included.");

    errstatus = 1;
    }

    while (length == 11)
    {
    if ((Character.isDigit(firstString.charAt(0))) && (Character.isDigit(firstString.charAt(1))) && (Character.isDigit(firstString.charAt(2))))
    {
    errstatus = 0;
    }

    else if ((Character.isDigit(secondString.charAt(0))) && (Character.isDigit(secondString.charAt(1))) && (Character.isDigit(secondString.charAt(2))))
    {
    errstatus = 0;
    }

    else if ((Character.isDigit(thirdString.charAt(0))) && (Character.isDigit(thirdString.charAt(1))) && (Character.isDigit(thirdString.charAt(2))))
    {
    errstatus = 0;
    }
    if (errstatus == 0)
    {
    JOptionPane.showMessageDialog(null, "You entered " + sinString + "\nas your Social Insurance Number.");
    }

    {
    while (errstatus2 == 1)
    {
    inputPostalCode = JOptionPane.showInputDialog(null,
    "Enter your Postal code with format a9a a9a");
    lengthpc = inputPostalCode.length();
    if ((lengthpc != 7)|| (inputPostalCode.charAt(3)!= ' ')) //Checking for length and space in format
    {
    JOptionPane.showMessageDialog(null,
    "You entered an invalid entry. "
    + sinString + "\nRe-enter your Postal Code with format a9a a9a.");

    errstatus2 = 1;
    }


    while (length == 7)
    {
    if ((Character.isLetter(firstPcString.charAt(0))) && (Character.isDigit(firstPcString.charAt(1))) && (Character.isLetter(firstPcString.charAt(2))))
    {
    errstatus2 = 0;
    }

    else if ((Character.isLetter(secondPcString.charAt(0))) && (Character.isDigit(secondPcString.charAt(1))) && (Character.isDigit(secondPcString.charAt(2))))
    {
    errstatus2 = 0;
    }

    if (errstatus2 == 0)
    {
    JOptionPane.showMessageDialog(null, "Your entered " + inputPostalCode
    + "\nas your Postal Code." );
    // System.exit(0);
    }
    {
    String status;
    final String MARRIED;
    final String SINGLE;
    //char firstStatus;
    inputStatus = JOptionPane.showInputDialog(null,
    "Enter your marital status as 'Married' or 'Single'.");
    // firstStatus = inputStatus.charAt(0);


    if ((inputStatus.charAt(0)== 'M' ||(inputStatus.charAt(0)== 'm' ))) //Checking for marital status
    {
    status = MARRIED;
    }
    else if ((inputStatus.charAt(0)== 'S' ||(inputStatus.charAt(0)== 's' )))
    {
    status = SINGLE;
    }
    else
    {
    JOptionPane.showMessageDialog(null, "Your marital status was entered incorrectly.");
    // System.exit(0);
    }
    }
    {
    income = JOptionPane.showInputDialog(null,
    "Enter your income for the year.");
    income = Double.parseDouble(inputIncome);
    while (income < 0);
    {
    JOptionPane.showMessageDialog(null, "Your income was entered as a negative, please re-enter.");
    }
    if (income >= 0);
    {
    JOptionPane.showMessageDialog(null, "Your income was entered as " + income);
    System.exit(0);
    }
    }
    {
    TaxReturn aTaxReturn = new TaxReturn(income, status);

    JOptionPane.showMessageDialog(null, "The tax payable is "
    + aTaxReturn.getTax());

    }


    {
    System.exit(0);
    }
    }
    }]

  4. #4
    dlorde is offline Elite Member Power Poster
    Join Date
    Aug 1999
    Location
    UK
    Posts
    10,163

    Re: Java Rookie looking for help compiling

    Quote Originally Posted by MJD4 View Post
    Like so?
    No (surely you could see it wasn't right after you posted it?). Put your code inside &#91;CODE]...&#91;/CODE] tags (where the ellipsis is). The idea is to keep the formatting so it is readable.

    If you get errors, please post up the full error message text (i.e. copy & paste the whole thing).

    The most likely way for the world to be destroyed, most experts agree, is by accident. That's where we come in; we're computer professionals. We cause accidents...
    N. Borenstein
    Please use &#91;CODE]...your code here...&#91;/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.

  5. #5
    Join Date
    Jul 2009
    Posts
    10

    Re: Java Rookie looking for help compiling

    Sorry, I don't know what "Put your code inside
    Code:
    ...
    tags (where the ellipsis is)" means.

  6. #6
    Join Date
    Jul 2009
    Location
    Buffalo NY
    Posts
    19

    Re: Java Rookie looking for help compiling

    ex. "[code ] put code between these [/code]" and it makes it easier to read

    Code:
    [import javax.swing.*;
    public class PrepareTax
    
    /*Chapter 7, Case Project "The Tax Advantage Company", Page 263.
    This is an application that prompts a user for inputs to create a Taxreturn object. 
    Filename is PrepareTax.java
    Written by Mark DeMuynck
    Wednesday, July 7, 2009
    Java Version 6 Update 13 (build 1.6.0_13-b03)*/
    
    {
    public static void main(String[] args)throws Exception
    {
    String sinString = "999-999-999", firstString, secondString, thirdString;
    firstString = sinString.substring(0, 3);
    secondString = sinString.substring(4, 6);
    thirdString = sinString.substring(8, 10);
    String inputPostalCode = "a9a a9a", firstPcString, secondPcString;
    firstPcString = inputPostalCode.substring(0, 3);
    secondPcString = inputPostalCode.substring(4, 6);
    String inputStatus;
    String inputIncome;
    double income; 
    char errstatus = 1;
    char errstatus2 = 1;
    int length;
    int lengthpc;
    
    while (errstatus == 1)
    {
    sinString = JOptionPane.showInputDialog(null, 
    "Enter your Social Insurance Number with format 999-999-999.");
    length = sinString.length(); //Capturing the length of the input.
    if ((length != 11) || (sinString.charAt(3)!= '-') || (sinString.charAt(7)!= '-')) //Checking for length and dashes
    {
    JOptionPane.showMessageDialog(null,
    "You entered an invalid entry. " 
    + sinString + "\nRe-enter your Social Insurance Number with dashes included."); 
    
    errstatus = 1;
    } 
    
    while (length == 11)
    { 
    if ((Character.isDigit(firstString.charAt(0))) && (Character.isDigit(firstString.charAt(1))) && (Character.isDigit(firstString.charAt(2))))
    {
    errstatus = 0;
    }
    
    else if ((Character.isDigit(secondString.charAt(0))) && (Character.isDigit(secondString.charAt(1))) && (Character.isDigit(secondString.charAt(2))))
    {
    errstatus = 0;
    }
    
    else if ((Character.isDigit(thirdString.charAt(0))) && (Character.isDigit(thirdString.charAt(1))) && (Character.isDigit(thirdString.charAt(2))))
    {
    errstatus = 0;
    }
    if (errstatus == 0)
    {
    JOptionPane.showMessageDialog(null, "You entered " + sinString + "\nas your Social Insurance Number.");
    }
    
    { 
    while (errstatus2 == 1) 
    {
    inputPostalCode = JOptionPane.showInputDialog(null,
    "Enter your Postal code with format a9a a9a");
    lengthpc = inputPostalCode.length();
    if ((lengthpc != 7)|| (inputPostalCode.charAt(3)!= ' ')) //Checking for length and space in format
    {
    JOptionPane.showMessageDialog(null,
    "You entered an invalid entry. " 
    + sinString + "\nRe-enter your Postal Code with format a9a a9a."); 
    
    errstatus2 = 1;
    }
    
    
    while (length == 7)
    { 
    if ((Character.isLetter(firstPcString.charAt(0))) && (Character.isDigit(firstPcString.charAt(1))) && (Character.isLetter(firstPcString.charAt(2))))
    {
    errstatus2 = 0;
    }
    
    else if ((Character.isLetter(secondPcString.charAt(0))) && (Character.isDigit(secondPcString.charAt(1))) && (Character.isDigit(secondPcString.charAt(2))))
    {
    errstatus2 = 0;
    }
    
    if (errstatus2 == 0)
    { 
    JOptionPane.showMessageDialog(null, "Your entered " + inputPostalCode 
    + "\nas your Postal Code." );
    // System.exit(0);
    }
    {
    String status;
    final String MARRIED;
    final String SINGLE;
    //char firstStatus;
    inputStatus = JOptionPane.showInputDialog(null, 
    "Enter your marital status as 'Married' or 'Single'.");
    // firstStatus = inputStatus.charAt(0);
    
    
    if ((inputStatus.charAt(0)== 'M' ||(inputStatus.charAt(0)== 'm' ))) //Checking for marital status
    { 
    status = MARRIED; 
    }
    else if ((inputStatus.charAt(0)== 'S' ||(inputStatus.charAt(0)== 's' )))
    {
    status = SINGLE;
    }
    else
    {
    JOptionPane.showMessageDialog(null, "Your marital status was entered incorrectly.");
    // System.exit(0);
    }
    }
    { 
    income = JOptionPane.showInputDialog(null, 
    "Enter your income for the year.");
    income = Double.parseDouble(inputIncome);
    while (income < 0);
    {
    JOptionPane.showMessageDialog(null, "Your income was entered as a negative, please re-enter.");
    }
    if (income >= 0);
    {
    JOptionPane.showMessageDialog(null, "Your income was entered as " + income);
    System.exit(0);
    }
    } 
    {
    TaxReturn aTaxReturn = new TaxReturn(income, status);
    
    JOptionPane.showMessageDialog(null, "The tax payable is "
    + aTaxReturn.getTax());
    
    }
    
    
    {
    System.exit(0);
    } 
    }
    }]

  7. #7
    Join Date
    Jul 2009
    Posts
    10

    Re: Java Rookie looking for help compiling

    Code:
    import javax.swing.*;
    public class PrepareTax
    
    /*Chapter 7, Case Project "The Tax Advantage Company", Page 263.
    This is an application that prompts a user for inputs to create a Taxreturn object. 
    Filename is PrepareTax.java
    
    Wednesday, July 7, 2009
    Java Version 6 Update 13 (build 1.6.0_13-b03)*/
    
    {
    	public static void main(String[] args)throws Exception
    	{
    		String sinString = "999-999-999", firstString, secondString, thirdString;
    		firstString = sinString.substring(0, 3);
          secondString = sinString.substring(4, 6);
          thirdString = sinString.substring(8, 10);
    		String inputPostalCode = "a9a a9a", firstPcString, secondPcString;
    		firstPcString = inputPostalCode.substring(0, 3);
    		secondPcString = inputPostalCode.substring(4, 6);
    		String inputStatus;
    		String inputIncome;
    		double income; 
    		char errstatus = 1;
    		char errstatus2 = 1;
    		int length;
    		int lengthpc;
    			  
        while (errstatus == 1)
    	 	{
    			sinString = JOptionPane.showInputDialog(null, 
      			"Enter your Social Insurance Number with format 999-999-999.");
    			length = sinString.length(); //Capturing the length of the input.
    			if ((length != 11) || (sinString.charAt(3)!= '-') || (sinString.charAt(7)!= '-')) //Checking for length and dashes
    			{
    				JOptionPane.showMessageDialog(null,
    			 "You entered an invalid entry. " 
    			 + sinString + "\nRe-enter your Social Insurance Number with dashes included."); 
    								
      				errstatus = 1;
    			}	 
    				 
    		while (length == 11)
    			{			 
    			 if ((Character.isDigit(firstString.charAt(0)))  && (Character.isDigit(firstString.charAt(1)))  && (Character.isDigit(firstString.charAt(2))))
                   {
                      errstatus = 0;
                   }
                       
                   else if ((Character.isDigit(secondString.charAt(0)))  && (Character.isDigit(secondString.charAt(1)))  && (Character.isDigit(secondString.charAt(2))))
                   {
                      errstatus = 0;
                   }
                   
                   else if ((Character.isDigit(thirdString.charAt(0)))  && (Character.isDigit(thirdString.charAt(1)))  && (Character.isDigit(thirdString.charAt(2))))
                   {
                      errstatus = 0;
                   }
                	if (errstatus == 0)
    					{
    					    JOptionPane.showMessageDialog(null, "You entered " + sinString + "\nas your Social Insurance Number.");
    					}
    				
    	{		
    			while (errstatus2 == 1)			
    			{
            inputPostalCode = JOptionPane.showInputDialog(null,
    		   "Enter your Postal code with format a9a a9a");
    			lengthpc = inputPostalCode.length();
    			if ((lengthpc != 7)|| (inputPostalCode.charAt(3)!= ' ')) //Checking for length and space in format
    			{
    				JOptionPane.showMessageDialog(null,
    			 "You entered an invalid entry. " 
    			 + sinString + "\nRe-enter your Postal Code with format a9a a9a."); 
    								
      				errstatus2 = 1;
    			}
    			
    			
    		while (length == 7)
    			{			 
    			 if ((Character.isLetter(firstPcString.charAt(0)))  && (Character.isDigit(firstPcString.charAt(1)))  && (Character.isLetter(firstPcString.charAt(2))))
                   {
                      errstatus2 = 0;
                   }
                       
                   else if ((Character.isLetter(secondPcString.charAt(0)))  && (Character.isDigit(secondPcString.charAt(1)))  && (Character.isDigit(secondPcString.charAt(2))))
                   {
                      errstatus2 = 0;
                   }
                                              
                   if (errstatus2 == 0)
    					{	
    						JOptionPane.showMessageDialog(null, "Your entered " + inputPostalCode 
    						+ "\nas your Postal Code." );
    					//	System.exit(0);
                   }
    		{
    			String status;
    			final String MARRIED;
    			final String SINGLE;
    			//char firstStatus;
    			inputStatus = JOptionPane.showInputDialog(null, 
      			"Enter your marital status as 'Married' or 'Single'.");
    		//	firstStatus = inputStatus.charAt(0);
    		
    					
    			if ((inputStatus.charAt(0)== 'M' ||(inputStatus.charAt(0)== 'm' ))) //Checking for marital status
    			{	
    			status = MARRIED;	
    			}
    			else if ((inputStatus.charAt(0)== 'S' ||(inputStatus.charAt(0)== 's' )))
    			{
    			status = SINGLE;
    			}
    			else
    			{
    			JOptionPane.showMessageDialog(null, "Your marital status was entered incorrectly.");
    			//			System.exit(0);
    			}
    		}
    		{		
    			income = JOptionPane.showInputDialog(null, 
      			"Enter your income for the year.");
    			income = Double.parseDouble(inputIncome);
    			while (income < 0);
    			{
    			JOptionPane.showMessageDialog(null, "Your income was entered as a negative, please re-enter.");
    			}
    			if (income >= 0);
    			{
    			JOptionPane.showMessageDialog(null, "Your income was entered as " + income);
    			System.exit(0);
    			}
    		}         	
    		{
    		TaxReturn aTaxReturn = new TaxReturn(income, status);
    
          JOptionPane.showMessageDialog(null, "The tax payable is "
                + aTaxReturn.getTax());
    
    		}
    
    		
    		{
       	System.exit(0);
    	 	}	
    	}
    }
    Thanks. This looks better.

  8. #8
    Join Date
    May 2006
    Location
    UK
    Posts
    4,473

    Re: Java Rookie looking for help compiling

    If you indent your code with a consistent style it will make it a lot easier to see where the problem is.

    Look at each of the if statements, while statements etc and make sure each code block associated with the statement has exactly one opening and one closing bracket. Then do the same for each method and finally the class, deleting spurious brackets/adding missing brackets as you go.

  9. #9
    Join Date
    Jul 2009
    Location
    Buffalo NY
    Posts
    19

    Re: Java Rookie looking for help compiling

    I think I fixed your bracket problem but you have some compatability issues with the optionpane.

    here is the code
    Code:
    import javax.swing.*;
    public class PrepareTax
    	
    	/*Chapter 7, Case Project "The Tax Advantage Company", Page 263.
    	 This is an application that prompts a user for inputs to create a Taxreturn object. 
    	 Filename is PrepareTax.java
    	 
    	 Wednesday, July 7, 2009
    	 Java Version 6 Update 13 (build 1.6.0_13-b03)*/
    	
    	{
    		public static void main(String[] args)throws Exception
    		{
    			String sinString = "999-999-999", firstString, secondString, thirdString;
    			firstString = sinString.substring(0, 3);
    			secondString = sinString.substring(4, 6);
    			thirdString = sinString.substring(8, 10);
    			String inputPostalCode = "a9a a9a", firstPcString, secondPcString;
    			firstPcString = inputPostalCode.substring(0, 3);
    			secondPcString = inputPostalCode.substring(4, 6);
    			String inputStatus;
    			String inputIncome;
    			double income; 
    			char errstatus = 1;
    			char errstatus2 = 1;
    			int length;
    			int lengthpc;
    			
    			while (errstatus == 1)
    			{
    				sinString = JOptionPane.showInputDialog(null, 
    														"Enter your Social Insurance Number with format 999-999-999.");
    				length = sinString.length(); //Capturing the length of the input.
    				if ((length != 11) || (sinString.charAt(3)!= '-') || (sinString.charAt(7)!= '-')) //Checking for length and dashes
    				{
    					JOptionPane.showMessageDialog(null,
    												  "You entered an invalid entry. " 
    												  + sinString + "\nRe-enter your Social Insurance Number with dashes included."); 
    					
    					errstatus = 1;
    				}	 
    				
    				while (length == 11)
    				{			 
    					if ((Character.isDigit(firstString.charAt(0)))  && (Character.isDigit(firstString.charAt(1)))  && (Character.isDigit(firstString.charAt(2))))
    					{
    						errstatus = 0;
    					}
    					
    					else if ((Character.isDigit(secondString.charAt(0)))  && (Character.isDigit(secondString.charAt(1)))  && (Character.isDigit(secondString.charAt(2))))
    					{
    						errstatus = 0;
    					}
    					
    					else if ((Character.isDigit(thirdString.charAt(0)))  && (Character.isDigit(thirdString.charAt(1)))  && (Character.isDigit(thirdString.charAt(2))))
    					{
    						errstatus = 0;
    					}
    				}
    				if (errstatus == 0)
    				{
    					JOptionPane.showMessageDialog(null, "You entered " + sinString + "\nas your Social Insurance Number.");
    				}
    				
    			}				
    			while (errstatus2 == 1)			
    			{
    				inputPostalCode = JOptionPane.showInputDialog(null,
    															  "Enter your Postal code with format a9a a9a");
    				lengthpc = inputPostalCode.length();
    				if ((lengthpc != 7)|| (inputPostalCode.charAt(3)!= ' ')) //Checking for length and space in format
    				{
    					JOptionPane.showMessageDialog(null,
    												  "You entered an invalid entry. " 
    												  + sinString + "\nRe-enter your Postal Code with format a9a a9a."); 
    					
    					errstatus2 = 1;
    				}
    				
    				
    				while (length == 7)
    				{			 
    					if ((Character.isLetter(firstPcString.charAt(0)))  && (Character.isDigit(firstPcString.charAt(1)))  && (Character.isLetter(firstPcString.charAt(2))))
    					{
    						errstatus2 = 0;
    					}
    					
    					else if ((Character.isLetter(secondPcString.charAt(0)))  && (Character.isDigit(secondPcString.charAt(1)))  && (Character.isDigit(secondPcString.charAt(2))))
    					{
    						errstatus2 = 0;
    					}
    				}
    				if (errstatus2 == 0)
    				{	
    					JOptionPane.showMessageDialog(null, "Your entered " + inputPostalCode 
    												  + "\nas your Postal Code." );
    					//	System.exit(0);
    				}
    				
    			}
    			
    			
    			String status;
    			final String MARRIED;
    			final String SINGLE;
    			//char firstStatus;
    			inputStatus = JOptionPane.showInputDialog(null, 
    													  "Enter your marital status as 'Married' or 'Single'.");
    			//	firstStatus = inputStatus.charAt(0);
    			
    			
    			if ((inputStatus.charAt(0)== 'M' ||(inputStatus.charAt(0)== 'm' ))) //Checking for marital status
    			{	
    				status = MARRIED;	
    			}
    			else if ((inputStatus.charAt(0)== 'S' ||(inputStatus.charAt(0)== 's' )))
    			{
    				status = SINGLE;
    			}
    			else
    			{
    				JOptionPane.showMessageDialog(null, "Your marital status was entered incorrectly.");
    				//			System.exit(0);
    			}
    			
    			
    			income = JOptionPane.showInputDialog(null, "Enter your income for the year.");
    			income = Double.parseDouble(inputIncome);
    			while (income < 0);
    			{
    				JOptionPane.showMessageDialog(null, "Your income was entered as a negative, please re-enter.");
    			}
    			if (income >= 0);
    			{
    				JOptionPane.showMessageDialog(null, "Your income was entered as " + income);
    				System.exit(0);
    			}
    			
    			
    			TaxReturn aTaxReturn = new TaxReturn(income, status);
    			
    			JOptionPane.showMessageDialog(null, "The tax payable is "
    										  + aTaxReturn.getTax());
    			
    			
    			
    			
    			
    			System.exit(0);
    		}	
    	}

  10. #10
    Join Date
    Jul 2009
    Location
    Buffalo NY
    Posts
    19

    Re: Java Rookie looking for help compiling

    figured your error with the JOptionPane

    you have

    Code:
    income = JOptionPane.showInputDialog(null, "Enter your income for the year.");
    			income = Double.parseDouble(inputIncome);
    and I blieve you want

    Code:
    inputIncome = JOptionPane.showInputDialog(null, "Enter your income for the year.");
    			income = Double.parseDouble(inputIncome);
    that seemed to fix that

  11. #11
    Join Date
    Jul 2009
    Posts
    10

    Re: Java Rookie looking for help compiling

    Thanks, that was an error in the code. I still get a "PrepareTax.java:151: reached end of file while parsing" error though. I'm sure that it has something to do with the brackets.

  12. #12
    Join Date
    Jul 2009
    Posts
    10

    Re: Java Rookie looking for help compiling

    Sorry I didn't read the post prior. I think that did fix the bracket issue and the problem in the JOption pane. Now it cannot find symbol class TaxReturn, so almost there.
    Thanks a lot, I was pretty frustrated.

  13. #13
    Join Date
    Jul 2009
    Location
    Buffalo NY
    Posts
    19

    Re: Java Rookie looking for help compiling

    Your going to have to make a class TaxReturn inorder to get rid of that cannot find symbol class TaxReturn unless you already have it in another file.

  14. #14
    Join Date
    Jul 2009
    Posts
    4

    Re: Java Rookie looking for help compiling

    How did you make out with class TaxReturn?? Doing same course and i think this is quite complicated being an introductory coarse...............

  15. #15
    Join Date
    Jul 2009
    Posts
    10

    Re: Java Rookie looking for help compiling

    I am still struggling with it, especially the syntax with having to do all the data validation that is required. There is a lot of validation to do for a intro course. We are using Java Programming 4th edition by Joyce Farrell. I assume you are too. I find that the exercises are not well supported by the chapters. All the code in the book does one thing, and then the exercise asks you to do multiple things without an example to go by.
    I have learned more off the internet than in the course.
    How are you doing?

Page 1 of 2 12 LastLast

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured