Interest Expense

I have two pieces of heavy equipment which will be capitalized and depreciated. A loan was obtained to buy the equipment.  Can the interest on the loan be expensed in the year it was paid? Thanks