Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package org.forge;
- import java.util.Scanner;
- // clase principal core principal
- public class Main {
- // funcion void no retorna
- public static void siguientedia(){
- Scanner in = new Scanner(System.in);
- int diain = 12;
- int mesin = 5;
- int ain = 2020;
- }
- // funcion con retorno ()
- public static String nextday(){
- return "";
- }
- // funcion con parametros
- public static void siguientediaparam(int dia, int mes, int a){
- int unmestiene = 30;
- int una = 12;
- }
- // Funcion Principal, es la primera en ejecutar al ejecutar la clase principal Public Class Main
- public static void main(String[] args) {
- Scanner in = new Scanner(System.in);
- int diain = 12;
- int mesin = 5;
- int ain = 2020;
- siguientediaparam(diain,mesin, ain);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement