SlideShare ist ein Scribd-Unternehmen logo
1 von 19
Programmazione ad oggetti
Caratteristiche dei Modelli ad Oggetti ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Risoluzione di problemi ,[object Object]
CLASSI ,[object Object],[object Object]
ISTANZE ,[object Object],[object Object]
ATTRIBUTI ,[object Object],[object Object]
METODI ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
INTERFACCIA ,[object Object],[object Object]
INTERFACCIA Automobile Persona Accelera Metti in moto Frena CambiaMarcia
INCAPSULAMENTO ,[object Object]
INFORMATION HIDING ,[object Object],[object Object]
ESEMPIO: il televisore ,[object Object]
INFORMATION HIDING ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
DIAGRAMMA DELLE CLASSI Diagramma  delle classi <nome classe>  <attributo1> <attributo2> …  <metodo1> <metodo2> …
CLASSE AUTOMOBILE ACCESA MARCIAINSERITA VELOCITA’ LIVELLOCARBURANTE ACCENDI() SPEGNI() CAMBIAMARCIA() ACCELERA() FRENA() RIFORNISCI()
OGGETTO (ISTANZA) MIA_AUTO Istanza di AUTOMOBILE ACCESA    1 MARCIAINSERITA    3 VELOCITA    40 LIVELLOCARBURANTE    50
UTILIZZO DI UN OGGETTO ,[object Object],[object Object],[object Object]
STRUTTURA DI UN MESSAGGIO ,[object Object],[object Object],[object Object],[object Object]
INVIO DEI MESSAGGI ,[object Object],[object Object],[object Object],[object Object]

Weitere ähnliche Inhalte

Was ist angesagt?

Chapter 02: Classes Objects and Methods Java by Tushar B Kute
Chapter 02: Classes Objects and Methods Java by Tushar B KuteChapter 02: Classes Objects and Methods Java by Tushar B Kute
Chapter 02: Classes Objects and Methods Java by Tushar B KuteTushar B Kute
 
Unit 3 object analysis-classification
Unit 3 object analysis-classificationUnit 3 object analysis-classification
Unit 3 object analysis-classificationgopal10scs185
 
java-thread
java-threadjava-thread
java-threadbabu4b4u
 
Selenium Page Object Model Using Page Factory | Selenium Tutorial For Beginne...
Selenium Page Object Model Using Page Factory | Selenium Tutorial For Beginne...Selenium Page Object Model Using Page Factory | Selenium Tutorial For Beginne...
Selenium Page Object Model Using Page Factory | Selenium Tutorial For Beginne...Edureka!
 
Collections and its types in C# (with examples)
Collections and its types in C# (with examples)Collections and its types in C# (with examples)
Collections and its types in C# (with examples)Aijaz Ali Abro
 
HTTP Request and Response Structure
HTTP Request and Response StructureHTTP Request and Response Structure
HTTP Request and Response StructureBhagyashreeGajera1
 
4. Classes and Methods
4. Classes and Methods4. Classes and Methods
4. Classes and MethodsNilesh Dalvi
 
classes & objects introduction
classes & objects introductionclasses & objects introduction
classes & objects introductionKumar
 
Java Data Types
Java Data TypesJava Data Types
Java Data TypesSpotle.ai
 
Working Effectively With Legacy Code
Working Effectively With Legacy CodeWorking Effectively With Legacy Code
Working Effectively With Legacy CodeNaresh Jain
 
What is JavaScript? Edureka
What is JavaScript? EdurekaWhat is JavaScript? Edureka
What is JavaScript? EdurekaEdureka!
 
Class and Objects in Java
Class and Objects in JavaClass and Objects in Java
Class and Objects in JavaSpotle.ai
 

Was ist angesagt? (20)

Unit Testing in Java
Unit Testing in JavaUnit Testing in Java
Unit Testing in Java
 
Chapter 02: Classes Objects and Methods Java by Tushar B Kute
Chapter 02: Classes Objects and Methods Java by Tushar B KuteChapter 02: Classes Objects and Methods Java by Tushar B Kute
Chapter 02: Classes Objects and Methods Java by Tushar B Kute
 
Data types in java
Data types in javaData types in java
Data types in java
 
Unit 3 object analysis-classification
Unit 3 object analysis-classificationUnit 3 object analysis-classification
Unit 3 object analysis-classification
 
java-thread
java-threadjava-thread
java-thread
 
Selenium Page Object Model Using Page Factory | Selenium Tutorial For Beginne...
Selenium Page Object Model Using Page Factory | Selenium Tutorial For Beginne...Selenium Page Object Model Using Page Factory | Selenium Tutorial For Beginne...
Selenium Page Object Model Using Page Factory | Selenium Tutorial For Beginne...
 
C# classes objects
C#  classes objectsC#  classes objects
C# classes objects
 
Collections and its types in C# (with examples)
Collections and its types in C# (with examples)Collections and its types in C# (with examples)
Collections and its types in C# (with examples)
 
HTTP Request and Response Structure
HTTP Request and Response StructureHTTP Request and Response Structure
HTTP Request and Response Structure
 
4. Classes and Methods
4. Classes and Methods4. Classes and Methods
4. Classes and Methods
 
classes & objects introduction
classes & objects introductionclasses & objects introduction
classes & objects introduction
 
Prototype pattern
Prototype patternPrototype pattern
Prototype pattern
 
Java Data Types
Java Data TypesJava Data Types
Java Data Types
 
Working Effectively With Legacy Code
Working Effectively With Legacy CodeWorking Effectively With Legacy Code
Working Effectively With Legacy Code
 
What is JavaScript? Edureka
What is JavaScript? EdurekaWhat is JavaScript? Edureka
What is JavaScript? Edureka
 
Solid principles
Solid principlesSolid principles
Solid principles
 
C# Access modifiers
C# Access modifiersC# Access modifiers
C# Access modifiers
 
Selenium IDE LOCATORS
Selenium IDE LOCATORSSelenium IDE LOCATORS
Selenium IDE LOCATORS
 
Class and Objects in Java
Class and Objects in JavaClass and Objects in Java
Class and Objects in Java
 
XML DTD and Schema
XML DTD and SchemaXML DTD and Schema
XML DTD and Schema
 

Ähnlich wie Programmazione ad oggetti

Ähnlich wie Programmazione ad oggetti (9)

Programmaoggetti[1]
Programmaoggetti[1]Programmaoggetti[1]
Programmaoggetti[1]
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
 
Object oriented
Object orientedObject oriented
Object oriented
 
Pensiero Orientato Agli Oggetti
Pensiero Orientato Agli OggettiPensiero Orientato Agli Oggetti
Pensiero Orientato Agli Oggetti
 
Concetti Oo Classe
Concetti Oo ClasseConcetti Oo Classe
Concetti Oo Classe
 
Object Oriented with Java Programmazione Base
Object Oriented with Java Programmazione BaseObject Oriented with Java Programmazione Base
Object Oriented with Java Programmazione Base
 
Presentazione principi oop
Presentazione principi oopPresentazione principi oop
Presentazione principi oop
 
programmazione ad oggetti
programmazione ad oggettiprogrammazione ad oggetti
programmazione ad oggetti
 
Data base elvira asile
Data base elvira asileData base elvira asile
Data base elvira asile
 

Programmazione ad oggetti