SophiaPretty

(5)

$14/per page/Negotiable

About SophiaPretty

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Applied Sciences,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Economics,Engineering,English,Environmental science,Essay writing Hide all
Teaching Since: Jul 2017
Last Sign in: 304 Weeks Ago, 1 Day Ago
Questions Answered: 15833
Tutorials Posted: 15827

Education

  • MBA,PHD, Juris Doctor
    Strayer,Devery,Harvard University
    Mar-1995 - Mar-2002

Experience

  • Manager Planning
    WalMart
    Mar-2001 - Feb-2009

Category > Computer Science Posted 13 Dec 2017 My Price 7.00

command line that will return a list of the names of java

1.What is the command line that will return a list of the names of java files in the current directory or in a subdirectory below the current directory that have the string "public static void main"?

grep___________  "public static void main" $(find. ____________  )

Notes:

  • 1st bank are flags passed to grep
  • 2nd blank are flags passed to find
  • Testing: go into a folder that has some Java files in it as well as some files in the the subdirectories. Make some of those Java files have the string being searched for.

2.What flag do you pass to javac to see the version number?

_________________________

 

3.What is the Java command line tool that is used to generate C headers and stubs?

_____________________________

 

4.What is the java command line to run a Java application with a main function in the class file AStar.class and setting the Java system property "HEURISTIC" to the value "Manhattan"

 

java _________ __________

 

5.Use javap to figure out which class files underneath the current directory have a main function:

 

for f in $(find . -type f -name ___________     
); do
  if javap  ____________           
 |       ___________    
 -q 'public static void main(java.lang.String[]);'; then 
    echo $f
  fi
done

Answers

(5)
Status NEW Posted 13 Dec 2017 09:12 AM My Price 7.00

-----------  ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly

Not Rated(0)