Skip to content

Instantly share code, notes, and snippets.

package tank;
public class Tanki {
public static void main(String[] args) {
}
public static class A{
B []b;
public A(int n){
package tank;
import tank.Tanki.Tank;
 
public class Launcher {
public static void main(String[] args) {
Tank[] tank= new Tank[5];
tank[0]= new Tank("red",5,60);
package tank;
public class Tanki {
public static void main(String [] args){
Tank tank= new Tank("red",4,50);
printTankInfo(tank);
}
public static class Tank{
String color;
package line;
public class Geometry1 {
public static void main(String[] args) {
Triangl triangl = new Triangl();
System.out.println(triangl.colorABC);
}
public static class Triangl{
package line;
public class Geometry {
public static void main(String[] args) {
Triangl triangl = new Triangl();
System.out.println(triangl.colorABC);
}
public static class Triangl{
package tank;
public class Tanki {
public static void main(String [] args){
Tank tank = new Tank();
parametrTank(tank);
printTankInfo(tank);
}
public static class Tank{
String color;
public class GreatingService {
public static void main(String[] args) {
if (args.length >0) {
System.out.println("Hello, " + args[0]); 5 } else {
System.out.println("Hello");
}
}
public class GreatingService {
2 public static void main(String[] args) {
3 if (args.length >0) {
4 System.out.println("Hello, " + args[0]);
5 } else {
6 System.out.println("Hello");
7 }
8 }
package tank;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.util.concurrent.TimeUnit;
import javax.swing.JFrame;
import javax.swing.JPanel;
Enter file contents here
package tank;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.util.concurrent.TimeUnit;
import javax.swing.JFrame;
import javax.swing.JPanel;