The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 304 Weeks Ago, 1 Day Ago |
| Questions Answered: | 15833 |
| Tutorials Posted: | 15827 |
MBA,PHD, Juris Doctor
Strayer,Devery,Harvard University
Mar-1995 - Mar-2002
Manager Planning
WalMart
Mar-2001 - Feb-2009
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:
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
----------- Â ----------- 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