Help shape GoConqr. What should we add next?

Notes

EncapsulateData - creado desde un Mapa Mental

Manuel Fernández JAVA Spanish 1 page

Content of the notes (1)

Page 1

Visibility

Inmutability

Methods types

- private

+ public

public final class Punto { private int x,y,z; }

Omitted in UML Diagram

by default = 0

Validating input data

Object

null

empty data

#Hla

Can't change

Constant is a synonymous (Primitive values)

Safe

String

- mutable + simple

Final Classes

passing/return function

Concurrence access

char[]

parsing, concatenation, inserting

can't be extended or subclassed --> compilation error

String

run faster

not be altered

accessor / get

mutator / set

Bean Model

Adding Bean to the class

Information

Description
JAVA Note on EncapsulateData - creado desde un Mapa Mental, created by Manuel Fernández on 25/07/2021.
Created by
Manuel Fernández · Jul 2021
Updated
Jul 25, 2021
Views
1
History
  • Created by Manuel Fernández · Jul 25, 2021
  • Copied to Note by Manuel Fernández · Jul 25, 2021
Rating

More on Encapsulation and Data Hiding

Feedback

What is it about?

What should we add next?