100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Java Exam Review 100% Accurate!! R279,62   Add to cart

Exam (elaborations)

Java Exam Review 100% Accurate!!

 11 views  0 purchase
  • Course
  • Java
  • Institution
  • Java

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 secu...

[Show more]

Preview 2 out of 7  pages

  • August 2, 2024
  • 7
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • Java
  • Java
avatar-seller
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

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through EFT, credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying this summary from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller papersmaster01. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy this summary for R279,62. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

73918 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy summaries for 14 years now

Start selling
R279,62
  • (0)
  Buy now