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
| package programa; | |
| import java.util.Stack; | |
| import java.util.StringTokenizer; | |
| public class Programa { | |
| public static void main(String[] args) { | |
| String sTexto = "En todo caso había un solo túnel oscuro y solitario el mío el túnel en que había transcurrido mi infancia mi juventud toda mi vida"; | |
| System.out.println(inversion(sTexto)); |
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
| package programa; | |
| import java.util.Stack; | |
| public class Programa { | |
| public static void main(String[] args) { | |
| String cadena_no_valida = "**(Cadena no equilibrada en paréntesis(()()()))))"; | |
| if (verificarBalanceoDeSimbolos(cadena_no_valida, '*', '*')) { |
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
| /* | |
| * To change this license header, choose License Headers in Project Properties. | |
| * To change this template file, choose Tools | Templates | |
| * and open the template in the editor. | |
| */ | |
| package javaapplication21; | |
| /** | |
| * | |
| * @author alumno |
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
| package javaapplication5; | |
| import java.util.Scanner; | |
| public class JavaApplication5 { | |
| static Scanner keyboard = new Scanner(System.in); | |
| public static void main(String[] args) { | |
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
| import java.util.Scanner; | |
| public class Main { | |
| static Scanner keyboard = new Scanner(System.in); | |
| public static void main(String[] args) { | |
| int number, divisor = 2; | |
| boolean isPrime = 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
| {"lastUpload":"2019-08-10T19:49:52.197Z","extensionVersion":"v3.4.1"} |
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
| Carro.prototype.numeroDeRuedas = function(numero) { | |
| if (typeof numero) { | |
| this._numeroDeRuedas = parseInt(numero, 4); | |
| } | |
| return this._numeroDeRuedas; | |
| } | |
| //setter | |
| this.numeroDeRuedas(4); |
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
| var Carro = function Carro (nombre, tipo) { | |
| Vehiculo.call(this, name, tipo); | |
| this.encender(encender); | |
| this.combustible = ''; | |
| }; | |
| Carro.prototype = Object.create(Vehiculo.prototype); | |
| Carro.prototype.constructor = Carro; | |
| Carro.prototype.default = function () { | |
| return new Carro('miCarro','sedan'); |
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
| var Vehiculo = function Vehiculo(nombre, tipo) { | |
| this._name(name || ''); | |
| this._tipo = tipo; | |
| } |
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
| {"menu": { | |
| "header": "SVG Viewer", | |
| "items": [ | |
| {"id": "Open"}, | |
| {"id": "OpenNew", "label": "Open New"}, | |
| null, | |
| {"id": "ZoomIn", "label": "Zoom In"}, | |
| {"id": "ZoomOut", "label": "Zoom Out"}, | |
| {"id": "OriginalView", "label": "Original View"}, | |
| null, |
NewerOlder