Alpha Geek

(8)

$10/per page/Negotiable

About Alpha Geek

Levels Tought:
University

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Environmental science,Essay writing,Programming,Social Science,Statistics Hide all
Teaching Since: Apr 2017
Last Sign in: 344 Weeks Ago, 6 Days Ago
Questions Answered: 9562
Tutorials Posted: 9559

Education

  • bachelor in business administration
    Polytechnic State University Sanluis
    Jan-2006 - Nov-2010

  • CPA
    Polytechnic State University
    Jan-2012 - Nov-2016

Experience

  • Professor
    Harvard Square Academy (HS2)
    Mar-2012 - Present

Category > Programming Posted 21 Jun 2017 My Price 5.00

Write a program that prompts the user to enter a directory name and creates a directory

 

**12.26 (Create a directory) Write a program that prompts the user to enter a directory name and creates a directory using the File’s mkdirs method. The program displays the message “Directory created successfully” if a directory is created or “Directory already exists” if the directory already exists.

 

 

 
 

Answers

(8)
Status NEW Posted 21 Jun 2017 08:06 AM My Price 5.00

-----------

Attachments

file 1498033129-Answer.docx preview (128 words )
i-----------mpo-----------rt -----------jav-----------a.i-----------o.F-----------ile-----------; -----------imp-----------ort----------- ja-----------va.-----------uti-----------l.S-----------can-----------ner-----------; -----------pub-----------lic----------- cl-----------ass----------- Fi-----------leM-----------kdi-----------rsT-----------est----------- { ----------- pu-----------bli-----------c s-----------tat-----------ic -----------voi-----------d m-----------ain-----------(St-----------rin-----------g[]----------- ar-----------gs)----------- { ----------- -----------// -----------Dec-----------lar-----------e s-----------can-----------ner----------- ob-----------jec-----------t t-----------o r-----------ead----------- da-----------ta -----------fro-----------m k-----------eyb-----------oar-----------d ----------- S-----------can-----------ner----------- sc----------- = -----------new----------- Sc-----------ann-----------er(-----------Sys-----------tem-----------.in-----------); ----------- -----------// -----------Dec-----------lar-----------e a-----------ll -----------req-----------uir-----------ed -----------var-----------iab-----------les----------- ----------- St-----------rin-----------g d-----------irN-----------ame-----------; ----------- /-----------/ R-----------ead----------- di-----------rec-----------tor-----------y n-----------ame----------- fr-----------om -----------key-----------boa-----------rd ----------- -----------Sys-----------tem-----------.ou-----------t.p-----------rin-----------tln-----------(&q-----------uot-----------;En-----------ter----------- a -----------dir-----------ect-----------ory----------- na-----------me:----------- &q-----------uot-----------;);----------- ----------- di-----------rNa-----------me -----------= s-----------c.n-----------ext-----------();----------- ----------- //----------- Cr-----------eat-----------e f-----------ile----------- ob-----------jec-----------t u-----------sin-----------g s-----------pec-----------ifi-----------ed
Not Rated(0)