Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

please answer the following simple question: a) The only way to write, compile,

ID: 3616662 • Letter: P

Question

please answer the following simple question: a) The only way to write, compile, and run a Java program isto use an IDE (e.g. TextPad) True/False b) A Java file is a collection of files type........................... (complete) c)What is the conceptual difference (implication) between thestatement "import java.util*;) and "import java.util.Scanner;".Briefly explain
a) The only way to write, compile, and run a Java program isto use an IDE (e.g. TextPad) True/False b) A Java file is a collection of files type........................... (complete) c)What is the conceptual difference (implication) between thestatement "import java.util*;) and "import java.util.Scanner;".Briefly explain

Explanation / Answer

a.) False. You don't need an IDE to compile your programs in Java.You can also compile them through the command prompt using javac tocompile and java to run. b.) A java file is a collection of file types consisting of thesource code and byte code. c.) The different between import.java.util.* and importjava.util.Scanner is that the first one imports everything fromutil where as the second only gets the Scanner. It's better the usethe first one because you never know when you might need somethingelse from the util api. Also java works in a way where it will onlyget that api that you need if you use import java.util.* and notall api's in util. Hope that helps.