KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
CursoJava
★ 11
Open GitHub ↗
No description available.
Download README (.md)
Explore Similar Repositories
dss_prjt_crawling
:
중고마켓 시장의 데이터를 유저들이 하나의 플랫폼에서 좀 더 편하게 사용할 수 있는 웹 서비스 제작 프로젝트입니다.
list.lua
:
A collection of handy table functions 📄
firequeue
:
firequeue is to ensure putting items to Amazon Kinesis Data Firehose with an in-memory queue
HandyCrawler
:
No description available.
elderjs-plugin-i18n
:
i18n support for your Elder.js powered website
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
CursoJava
?
Download (.md)
# CursoJava ## Encapsulamiento: Es como si una clase fuera una caja negra para proteger el estado (atributos) de una clase y también ocultar la implementación de los métodos ## Herencia (todas las fichas de ajedrez heredan de la superclase Ficha) ## POLIMORFISMO: usar una variable o instancia con su supertipo(padre); ## Instancia (Peon, Torre) ## Enum OVERLOAD usar métodos que se llaman igual distinguiendo por parámetros Getters: Obtener un atributo Setters Cabmair el valir de un atributo Arrays: Set: Map: llave-valor List: Carro 1 Carro 2 Carro 3 0 1 2 Length: 7 Max index: 6 Loops: For While (While-do ; do-while) Do while(){ } Foreach: for(Carro nombreVariable : lista) Break: rompe el loop Continue: continua con la siguiente iteración Return: retornar a donde fue llamada la función sin ejecutar lo restante en la función donde está el return. Recursividad: FAC(6)=Resultado = 120*6=720 FAC(5) = FAC(4)-> 24 *5=120 FAC(4) = FAC(3)-> 6*4=24 FAC(3) = FAC(2)-> 2*3=6 FAC(2) = FAC(1)-> 1*2=2 FAC(1) = 1; Interfaces Condicionales (if-else) Variables Operaciones lógicas (&&-> and; || -> or; == equals) Overload Objetos AUTOBOXING UNBOXING MAquina virtual CASTEO: Transformar de un tipo en otro PRIMITIVAS: int, double, float, char, byte, boolean, short, long JAVA SE (STANDAR EDITION) -> corre en un computador con java JAVA EE(ENTERPRISE EDITION) -> corre en un servidor SERVIDOR -> WebLogic ->Glassfish ->Tomcat HILOS Excepciones: IndexOutOfBoundsException: tratando de obtener algo en un array de diferente tamaño StackOverflowError: Flujo infinito CLASE perro Ladrar Dormir Mover la cola Cocinar X Clase gato Maullar CREAR UNA CASA DONDE CONVIVAN UN CIERTO NÚMERO DE PERROS Y GATOS Eclipse: IDE desarrolla (Programa) C++: Lenguaje de programación (Ingles) Python: Lenguajes de programación (francés) Java: Lenguaje de programación (Español) GIT: (Drive) ALTA COHESION clase: Abstracción del mundo: Perro atributo valor Atributos (características): dientes = 32, raza=golden, tamaño: 50 tipo (clase): numero, raza, numero Métodos(capacidades): ladrar, correr, comer, orinar, [PERRO 3 -> dar la mano] Argumentos (información externa) Privacidad public private protected numero: int (entero), double(fraccionarios), float(fraccionarios) Eficiencia: String (texto) "hola" "1" StringBuffer "hola" StringBuilder "hola" Enumeración Las responsabilidades tengan RELACIÓN BAJO ACOMPLAMIENTO Diferentes clases sean INDEPENDIENTES PERRO 1 PERRO 2 PERRO 3