100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Summary IT OOP Theory Summaries R50,00   Add to cart

Summary

Summary IT OOP Theory Summaries

 3 views  0 purchase

Java IT OOP Theory summaries

Preview 1 out of 3  pages

  • October 2, 2024
  • 3
  • 2023/2024
  • Summary
All documents for this subject (73)
avatar-seller
bernardu
Constructors
Allow you to create and instantiate an
object
↳ Instantiate stored for the
:
Attributes object

when object is instantiated : Constructor called

Attributes of Constructor Declared
:
as
public
same name as class



Types of Constructors


↳ Default :
No parameters : Initialised with default values


Parameterised Constructor contains to values
parameters assign
:




Method
Overloading
2+ Methods in class with same name but different
parameters
↳ Increases of
readability program

Different ways to overload
:

Change num .
of
arguments
change data
type

E. + Person C)
g.
string)
+ Person ( f- Name
Name DOB
string string
: :
:
s
, ,




Method Overriding
Implementing a method in a derived class with same
signature as base class method

↳ Override base functionality
class with new functionality

Allows new method to
give different results to
super class


Rules :
Same method name as in parent
same parameters
Must be inheritance

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 bernardu. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

67232 documents were sold in the last 30 days

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

Start selling
R50,00
  • (0)
  Buy now