This file contains 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
/** | |
* Created by Mattia on 20/03/2017. | |
*/ | |
public class PolindromaClass | |
{ | |
private String stringa; | |
public PolindromaClass(String stringa) | |
{ |
This file contains 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
public class MiaStringa | |
{ | |
String stringa; | |
public MiaStringa(String stringa) | |
{ | |
this.stringa = stringa; | |
} | |
public void selezionaCarattere() |
This file contains 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; | |
/** | |
* Created by Mattia on 22/03/2017. | |
*/ | |
public class MainTriangolo | |
{ | |
public static void main(String args[]) | |
{ | |
int a, b, c; |
This file contains 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; | |
/** | |
* Created by Mattia on 22/03/2017. | |
*/ | |
public class MainTriangolo | |
{ | |
public static void main(String args[]) | |
{ | |
int a, b, c; |
This file contains 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 Prova; | |
/** | |
* Created by Mattia on 05/03/2017. | |
*/ | |
public class Estrazione | |
{ | |
private String stringa; |
This file contains 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; | |
/** | |
* Created by Mattia on 02/04/2017. | |
*/ | |
public class Calcolatrice | |
{ | |
private int primoNumero; | |
private int secondoNumero; |
This file contains 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.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}; |
This file contains 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.io.*; | |
import java.net.*; | |
/** | |
* Created by Mattia on 27/04/2017. | |
*/ | |
// definiamo la classe principale | |
public class LetturaFile | |
{ | |
public static void main(String[] args) |
This file contains 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
/** | |
* 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) |
This file contains 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.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
/** | |
* Created by Mattia on 03/05/2017. | |
*/ | |
public class NomeCognome | |
{ |
OlderNewer