Business & farm

Since i will be freelance and a contractor, can I still deduct expenses even if I have no success gaining any work?  I am a software engineer and will be actively looking for contractor 1099 work starting June. My question is more around what happens if I have no success securing any work? Are the expenses for education and other business expenses still deductible?