Search:

Type: Posts; User: Techergy

Search: Search took 0.07 seconds.

  1. Re: How to import information from a file, and use it to calculate and display serval things?

    I have gotten this program done. But I still have one issue, when I try to call the file in my main method that looks like this:


    public class BankApp
    {
    public static void main(String[] args)...
  2. Override default constructor with information stored from a file

    Hello everyone,

    I am trying to read information from a file, and then have the information output. I have already posted this another section of this forum, and I apologize for that but I am...
  3. Re: How to import information from a file, and use it to calculate and display serval things?

    Yeah sorry about that, now that that is fixed. I can see now that I am not proper calling the variables I have used in the while loop to store variables from the file like I want to.

    I am going to...
  4. Re: How to import information from a file, and use it to calculate and display serval things?

    Oh! urrh right, I forgot I put that there and that I could not instantiate from an abstract class.
  5. Re: How to import information from a file, and use it to calculate and display serval things?

    It looks like I cannot figure out why information is not displaying correctly until I figure out why I cannot instantiate the BankAccount object. I am writing in correctly, right? BankAccount...
  6. Re: How to import information from a file, and use it to calculate and display serval things?

    This is where I should have stored the variables from the file.

    public void getFileInfo()
    {
    Scanner readTheFile = new Scanner("User/KaylaManchette/Documents/workspace/CSC...
  7. Re: How to import information from a file, and use it to calculate and display serval things?

    I have, it only outputs the empty strings located in the constructor
  8. Re: How to import information from a file, and use it to calculate and display serval things?

    The BankAccount class did not compile with any errors. And to think, I was just thinking about add that.


    import java.util.Scanner;

    public abstract class BankAccount
    {
    protected String...
  9. Re: How to import information from a file, and use it to calculate and display serval things?

    Exception in thread "main" java.lang.Error: Unresolved compilation problem:
    Cannot instantiate the type BankAccount

    at KManchette_Project3.Bank.<init>(Bank.java:9)
    at...
  10. Re: How to import information from a file, and use it to calculate and display serval things?

    Yes, sorry about that. I just thought of that. Here is what I am seeing: Cannot instantiate the type
    BankAccount.

    Also here is the information that is located in the file that I am working...
  11. How to import information from a file, and use it to calculate and display serval things?

    Hello everyone,

    I am trying to create a program that reads from a file, and outputs the data. The file contains a list of bank accounts with some standard bank account information, also we need to...
Results 1 to 11 of 11