• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 7 pages
Exam (elaborations)

Java Exam Review 100% Accurate!!

Document preview thumbnail
Preview 2 out of 7 pages

What is Java EE? - ANSWERJava Enterprise Edition. For making large-scale shit like Distributed and networking systems or Enterprise web-based applications. What is Java ME? - ANSWERJava Micro Edition. Subset of the SE or standard edition. Used for recourse starved devices like appliances or security cameras. What is the JDK? - ANSWERJava Development Kit. Used to develop and run java applications. Includes JRE, java to interpret, javac to compile. What is the JRE? - ANSWERJava Runtime Environment. Used if you simply just want to run java applications. What is the JVM? - ANSWERJava Virtual Machine. Park of the JDK. Used to execute bytecodes. What are bytecodes? - ANSWERJava instructions set. Platform specific. Executed on any platform with the JVM installed. Enables "Write once run anywhere". What is JIT? - ANSWERJust-in-time compiler. Used by JVM to convert bytecodes into machine language. Faster. Example is Oracle Java HotSpot compiler. What are the 5 phases of Java development? - ANSWEREdit in VIM Compile to bytecodes Load into JVM Verify to ensure security E

Content preview

Java Exam Review 100% Accurate!!

What is Java EE? - ANSWERJava Enterprise Edition. For making large-scale shit like Distributed and
networking systems or Enterprise web-based applications.



What is Java ME? - ANSWERJava Micro Edition. Subset of the SE or standard edition. Used for
recourse starved devices like appliances or security cameras.



What is the JDK? - ANSWERJava Development Kit. Used to develop and run java applications.
Includes JRE, java to interpret, javac to compile.



What is the JRE? - ANSWERJava Runtime Environment. Used if you simply just want to run java
applications.



What is the JVM? - ANSWERJava Virtual Machine. Park of the JDK. Used to execute bytecodes.



What are bytecodes? - ANSWERJava instructions set. Platform specific. Executed on any platform
with the JVM installed. Enables "Write once run anywhere".



What is JIT? - ANSWERJust-in-time compiler. Used by JVM to convert bytecodes into machine
language. Faster. Example is Oracle Java HotSpot compiler.



What are the 5 phases of Java development? - ANSWEREdit in VIM

Compile to bytecodes

Load into JVM

Verify to ensure security

Execute to run



What is the difference between a ".java" file and a ".class" file? - ANSWER".java" is your source code
file that you edit. The ".class" file is the one that the compiler creates that contains the compiled
program in bytecode format.

, What is Javadoc and what is it used for? - ANSWERIgnored by compiler. The javadoc utility program
uses it to prepare your documentation in HTML format.



How can you tell if two classes are in the same package? - ANSWERIf they are stored in the same
directory.



What are three exceptions to the rule that all packages must be imported? - ANSWERDefault
package, Fully qualified names, and the classes in Java.lang.



How can you tell how many command line arguments are passed to a command line? If no
arguments are passed, how can you tell that? - ANSWERBy checking the String array's length
attribute.



What are the parts that make up the main function declaration? - ANSWERpublic static void
main(String[] args)



What is each part of the main function declaration doing? - ANSWERStatic tells the JVM that it does
not need to create an object of the class in which main is declared. Void says that the function is not
going to return a value.



Do variables need to be declared in Java? - ANSWERYes



What is the difference between a primitive type and a reference type? - ANSWERPrimitive types are
like int, double, bool. Reference are classes or pointers to values within a class. Reference are
initialized to null. String is a reference type.



What are the 8 primitive data types? - ANSWERboolean

byte

char

short

int

long

float

double

Document information

Uploaded on
August 2, 2024
Number of pages
7
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$15.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
papersmaster01
3.9
(74)
Sold
309
Followers
106
Items
14763
Last sold
1 month ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions