Examlex

Solved

Consider the Following Code Snippet: Public Void ReadFile(String Filename) Throws

question 106

Multiple Choice

Consider the following code snippet: public void readFile(String filename) throws FileNotFoundException
{
File inFile = new File(filename) ;
Scanner in = new Scanner(inFile) ;
) . .
}
If the file cannot be located, which of the following statements about this code is correct?


Definitions:

Owner's Equity Account

An account on a company's balance sheet that represents the total amount invested by the owners plus any retained earnings or losses.

Real Accounts

Accounts related to assets, liabilities, and equity that are not closed at the end of the accounting period and are carried forward to the next period.

Nominal Accounts

Accounts that are used in accounting to record expenses, incomes, losses, and gains; these accounts are closed at the end of the accounting period.

Closing Entry

A journal entry made at the end of an accounting period to transfer the balances in temporary accounts to permanent accounts.

Related Questions