Apresentação do Curso de Programação Orientada a Objetosleomurta/courses/poo/aula1.pdf ·...

Post on 30-Sep-2018

215 views 0 download

Transcript of Apresentação do Curso de Programação Orientada a Objetosleomurta/courses/poo/aula1.pdf ·...

ApresentaçãodoCursodeProgramação

OrientadaaObjetosLeonardoGrestaPaulinoMurta

leomurta@ic.uff.br

The image cannot be displayed. Your computer may not have enough memory to open the image, or the image may have been corrupted. Restart your computer, and then open the file again. If the red x still appears, you may have to delete the image and then insert it again.

Apresentações•  Quemsoueu?

– LeonardoMurta– h>p://www.ic.uff.br/~leomurta

•  Quemsãovocês?– Nome?– Período?Estágio?ProjetodeAplicação?IniciaçãoCienNfica?

– ExpectaQvasparaProgramaçãoOrientadaaObjetos?

Leonardo Murta Apresentação do Curso 2

The image cannot be displayed. Your computer may not have enough memory to open the image, or the image may have been corrupted. Restart your computer, and then open the file again. If the red x still appears, you may have to delete the image and then insert it again.

Paradigmasdeprogramação•  Aorientaçãoaobjetospodeservistacomoumpassonaturalnaevoluçãodosparadigmas

Leonardo Murta Subprogramação e OO 3

OrientadoaObjetos

Procedimental

Estruturado

• Classes• Pacotes

• Procedimentos• Funções

• Sequência• Decisão• RepeQção

The image cannot be displayed. Your computer may not have enough memory to open the image, or the image may have been corrupted. Restart your computer, and then open the file again. If the red x still appears, you may have to delete the image and then insert it again.

Paradigmaestruturado•  Sóusasequência,decisãoerepeQção•  Códigomaisfácildeler,masaindadi7cilparasistemasgrandesdevidoarepeQçãodecódigo

•  Oquefazersefornecessáriorepe:rumasequênciadelinhasdecódigoemdiferenteslocais?

Leonardo Murta Subprogramação e OO 4

The image cannot be displayed. Your computer may not have enough memory to open the image, or the image may have been corrupted. Restart your computer, and then open the file again. If the red x still appears, you may have to delete the image and then insert it again.

Encapsulamento•  MecanismouQlizadoparalidarcomoaumentode

complexidade•  Consisteemexibir“oque”podeserfeitosem

informar“como”éfeito•  Permitequeagranularidadedeabstraçãodo

sistemasejaalterada,criandoestruturasmaisabstratas

Leonardo Murta 5 Subprogramação e OO

The image cannot be displayed. Your computer may not have enough memory to open the image, or the image may have been corrupted. Restart your computer, and then open the file again. If the red x still appears, you may have to delete the image and then insert it again.

Paradigmaprocedimental•  Sinônimo:paradigmaprocedural•  Usodesubprogramação

–  AgrupamentodecódigopermiQndoacriaçãodeaçõescomplexas–  Atribuiçãodeumnomeparaessasaçõescomplexas–  Chamadaaessasaçõescomplexasdequalquerpontodoprograma

•  Essasaçõescomplexassãodenominadasprocedimentos,sub-roQnasefunções

Leonardo Murta Subprogramação e OO 6

The image cannot be displayed. Your computer may not have enough memory to open the image, or the image may have been corrupted. Restart your computer, and then open the file again. If the red x still appears, you may have to delete the image and then insert it again.

Paradigmaorientadoaobjetos(OO)•  Classesdeobjetos

– Agrupamentodeprocedimentosevariáveisafins•  Pacotesdeclasses

– Agrupamentodeclassesafins–  Representambibliotecasdeapoio

Leonardo Murta 7 Subprogramação e OO

The image cannot be displayed. Your computer may not have enough memory to open the image, or the image may have been corrupted. Restart your computer, and then open the file again. If the red x still appears, you may have to delete the image and then insert it again.

Ementadadisciplina•  Fundamentosdaprogramaçãoorientadaaobjetos•  Orientaçãoaobjetos•  ElementosdalinguagemJava•  Relacionamentoentreobjetos•  Herançaepolimorfismo•  Classesabstrataseinterfaces•  Exceções•  Threads

Leonardo Murta Apresentação do Curso 8

The image cannot be displayed. Your computer may not have enough memory to open the image, or the image may have been corrupted. Restart your computer, and then open the file again. If the red x still appears, you may have to delete the image and then insert it again.

Avaliação

Leonardo Murta Apresentação do Curso 9

Média = Prova1 +Prova22

The image cannot be displayed. Your computer may not have enough memory to open the image, or the image may have been corrupted. Restart your computer, and then open the file again. If the red x still appears, you may have to delete the image and then insert it again.

Bibliografiadocurso

Leonardo Murta Apresentação do Curso 10

http://docs.oracle.com/javase/tutorial

The image cannot be displayed. Your computer may not have enough memory to open the image, or the image may have been corrupted. Restart your computer, and then open the file again. If the red x still appears, you may have to delete the image and then insert it again.

Páginadocurso

Leonardo Murta Apresentação do Curso 11

http://www.ic.uff.br/~leomurta (no final da página tem o cronograma, com datas e slides)

Importante: cadastrem-se no Grupo do Facebook informado no site!

ApresentaçãodoCursodeProgramação

OrientadaaObjetosLeonardoGrestaPaulinoMurta

leomurta@ic.uff.br