100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Java FDM | Questions & Answers (100 %Score) Latest Updated 2024/2025 Comprehensive Questions A+ Graded Answers | With Expert Solutions $13.48   Add to cart

Exam (elaborations)

Java FDM | Questions & Answers (100 %Score) Latest Updated 2024/2025 Comprehensive Questions A+ Graded Answers | With Expert Solutions

 4 views  0 purchase
  • Course
  • FDM
  • Institution
  • FDM

Java FDM | Questions & Answers (100 %Score) Latest Updated 2024/2025 Comprehensive Questions A+ Graded Answers | With Expert Solutions

Preview 2 out of 9  pages

  • August 2, 2024
  • 9
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • FDM
  • FDM
avatar-seller
VasilyKichigin
Java FDM | Questions & Answers (100 %Score) Latest Updated 2024/2025 Comprehensive
Questions A+ Graded Answers | With Expert Solutions


List the four pillars of OOP - APIE
Abstraction
Polymorphism
Inheritance
Encapsulation

Encapsulation - The act of grouping together data and behaviour into logical
components.

Abstraction - Extracting relevant and essential
information and behavior. Hiding complexity through layering

Cohesion - is the degree to which components of a class belong together. Group data
and / or behaviors into logical components. Good design aims for high cohesion

Coupling should be low or high - Good design aims to achieve low coupling.

Inheritance - provides an object with the ability to acquire the fields and methods of
another class, called base class. IS-A

Polymorphism - Having multiple forms or versions of the same type of thing and the
same types of behavior.

List the two types of binding. - Two main types
Early Binding (Compile time)
Occurs at compile time
Attributes and method calls are bound when
compiling source code
Late Binding (Runtime)
Occurs at runtime
Attributes and method calls are bound when the
program is running

Overloading - Two methods in the same class have the same name but different
parameters.
+updateDetails(String u)
+updateDetails(String u, String p)
Polymorphism - Early Binding/Overloading

Overriding - If a subclass provides a specific implementation of a method that is already
provided by its parent class, it is known as Method Overriding.
Polymorphism - Late Binding/Overriding

, Fill in the data types
?
8
16
32
64 - ? boolean
8 byte
16 short char
32 int float
64 long double

Is Java compiled or interpreted - Both

Strings - immutable
reference types not primitives
String literals are stored in the String Pool
compared using the .equals method NOT ==
concatenation creates a new String

StringBuilder and StringBuffer - StringBuffer Thread safe but slower
StringBuilder Not Thread safe but faster

Arrays - are a way of containing multiple variables.
are reference types
Indices start at zero

Enum - are a way to represent a set of predefined values.

Primitive wrapper classes - Classes that wrap a primitive value and provide additional
functionality.
Wrappers for numeric types extend the Number class.

BigDecimal - fixes many issues with floats and doubles:
Has custom defined rounding modes to suit the situation

Calendar class - Date and time are handled by the Calendar class.
Calendar provides methods to get the value of a specific
field:Day,Month,Year,Hour,Minute

What does IDE stand for - Integrated Development Environment

What is m2e - Maven Integration for Eclipse

Subclipse - Subversion integration for Eclipse

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 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 these notes from?

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

Will I be stuck with a subscription?

No, you only buy these notes for $13.48. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

73314 documents were sold in the last 30 days

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

Start selling
$13.48
  • (0)
  Add to cart