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
public class DataStructure { | |
// Create an array | |
private final static int SIZE = 15; | |
private int[] arrayOfInts = new int[SIZE]; | |
public DataStructure() { | |
// fill the array with ascending integer values | |
for (int i = 0; i < SIZE; i++) { | |
arrayOfInts[i] = i; |
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
public class Main | |
{ | |
public void main() | |
{ | |
Test test = new Test(); | |
Test.Inner inner = test.new Inner(); | |
inner.testMethod(); | |
} | |
} |
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 com.example.helloworld; | |
/** | |
* Created by wannabe on 12.04.15. | |
*/ | |
interface Animal | |
{ | |
int getLegsCount(); | |
animal move(); | |
} |
NewerOlder