This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private void jMenuItemOpenFramePerformed(java.awt.event.ActionEvent evt) { | |
| this.jInternalFrame1.setVisible(true); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Numeric Data: | |
| //Getter | |
| public double getTotal() { | |
| return total; | |
| } | |
| //Setter | |
| public void setTotal(double total) { | |
| this.total = total; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Port Number | |
| Description | |
| 1 TCP Port Service Multiplexer (TCPMUX) | |
| 5 Remote Job Entry (RJE) | |
| 7 ECHO | |
| 18 Message Send Protocol (MSP) | |
| 20 FTP -- Data | |
| 21 FTP -- Control | |
| 22 SSH Remote Login Protocol |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ArithmeticException | |
| // Arithmetic error, such as divide-by-zero. | |
| ArrayIndexOutOfBoundsException | |
| // Array index is out-of-bounds. | |
| ArrayStoreException | |
| // Assignment to an array element of an incompatible type. | |
| ClassCastException |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Directory: A folder used for storing multiple files. | |
| Repository: A directory where Git has been initialized to start version controlling your files. | |
| The .git directory: It is usually hidden. It has all sorts of directories and files inside it. | |
| We rarely ever need to do anything inside here | |
| Staging Area: A place where we can group files together before we COMMIT them to Git. | |
| Commit: A COMMIT is a snapshot of our repository. | |
| This way if we ever need to look back at the changes we have made | |
| (or if someone else does), we will see a nice timeline of all changes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| create user NOMBRE_CUENTA | |
| identified by CONTRASEÑA | |
| default tablespace NOMBRE_ESPACIO_DE_TABLA; | |
| SQL>create user MUSICAL | |
| 2 identified by MIMUSICA | |
| 3 default tablespace USERS; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Crear el documento | |
| Document document = new Document(); | |
| //Definición de la ruta | |
| PdfWriter.GetInstance(document, | |
| new FileStream("D:/users/Documentos/HolaMundo.pdf", | |
| FileMode.Create)); | |
| //Abrir el documeto | |
| document.Open(); | |
| //Agregar paragraph con el texto Hola Mundo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Given: | |
| StringBuilder b1 = new StringBuilder("snorkler"); | |
| StringBuilder b2 = new StringBuilder("yoodler"); | |
| b1.append(b2.substring(2,5).toUpperCase()); | |
| //b1 = snorkler b2 = yoodler | |
| b1.append("odl".toUpperCase()); | |
| //b1 = snorkler b2 = yoodler |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --SQL Server 2010, 2012 | |
| select * from INFORMATION_SCHEMA.TABLES |