Demo entry 6359760

codigo java

   

Submitted by anonymous on Apr 29, 2017 at 16:02
Language: Java. Code size: 741 Bytes.

/*
 * 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 s01.iniciandojava;

/**
 *
 * @author Programacion Java
 */
public class Ejemplo4 {
    public static void main(String[] args) {
        /*
            String --> tipo de dato
            nombre,ape_per --> variables
            simbolo "=" --> indica asignacion
            "Rafael", "Medina" --> valores asignados  a las variables
        */
        String nombre = "Rafael";
        String ape_per = "Medina";
        
        System.out.println("Mi nombre es: " + nombre + " y mi apellido es: " + ape_per);
    }
    
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).