Skip to content

Instantly share code, notes, and snippets.

View mattiaferigutti's full-sized avatar
🔨
Building What's On My Mind

Mattia Ferigutti mattiaferigutti

🔨
Building What's On My Mind
View GitHub Profile
/**
* Created by Mattia on 20/03/2017.
*/
public class PolindromaClass
{
private String stringa;
public PolindromaClass(String stringa)
{
public class MiaStringa
{
String stringa;
public MiaStringa(String stringa)
{
this.stringa = stringa;
}
public void selezionaCarattere()
import java.util.Scanner;
/**
* Created by Mattia on 22/03/2017.
*/
public class MainTriangolo
{
public static void main(String args[])
{
int a, b, c;
import java.util.Scanner;
/**
* Created by Mattia on 22/03/2017.
*/
public class MainTriangolo
{
public static void main(String args[])
{
int a, b, c;
package Prova;
/**
* Created by Mattia on 05/03/2017.
*/
public class Estrazione
{
private String stringa;
@mattiaferigutti
mattiaferigutti / Calcolatrice.java
Last active April 2, 2017 19:23
Calcolatrice che esegue la moltiplicazione e divisione gestendo eventuali eccezioni
import java.util.Scanner;
/**
* Created by Mattia on 02/04/2017.
*/
public class Calcolatrice
{
private int primoNumero;
private int secondoNumero;
@mattiaferigutti
mattiaferigutti / Dominio.java
Last active April 26, 2017 18:20
inizializzazione tessere del dominio
import java.util.Random;
/**
* Created by feriguttim on 20/04/2017.
*/
public class Domino
{
private static final int[][] pedine = new int[49][2];
int[] random = new int[]{5, 6, 7, 8, 9, 10};
@mattiaferigutti
mattiaferigutti / LetturaFile.java
Created April 27, 2017 15:33
Lettura del file
import java.io.*;
import java.net.*;
/**
* Created by Mattia on 27/04/2017.
*/
// definiamo la classe principale
public class LetturaFile
{
public static void main(String[] args)
@mattiaferigutti
mattiaferigutti / NomeClass.java
Last active May 3, 2017 13:28
nome cognome con tabella
/**
* Created by Mattia on 03/05/2017.
*/
public class NomeClass
{
private String nome;
private String cognome;
private int[] arrayTabella = new int[10];
public NomeClass(String nome, String cognome)
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
/**
* Created by Mattia on 03/05/2017.
*/
public class NomeCognome
{