Skip to content

Instantly share code, notes, and snippets.

@edinak1
Created December 17, 2016 13:57
Show Gist options
  • Save edinak1/8007ea9c82df14ed1c1fa3a2d608136c to your computer and use it in GitHub Desktop.
Save edinak1/8007ea9c82df14ed1c1fa3a2d608136c to your computer and use it in GitHub Desktop.
package line;
public class Geometry1 {
public static void main(String[] args) {
Triangl triangl = new Triangl();
System.out.println(triangl.colorABC);
}
public static class Triangl{
String typeTrianglABC;
String colorABC="green";
boolean possibleTriangABC;
int angleA;
int angleB;
int angleC;
long sideAB;
long sideAC;
long sideBC;
double areaABC;
double perimetrABC;
double bisectorA;
double bisectorB;
double bisectorC;
double medianAB;
double medianBC;
double medianAC;
double heightAB;
double heightAC;
double heightBC;
double radiusInCircle;
double radiusCircumCircle;
double areaInCircle;
double lengthInCircle;
double lengthCircumCircle;
double areaCircumCircle;
double middleLine;
public void printTriangl(Triangl triangl){
}
public double areaTriangl(Triangl triangl){
return 0;
}
public double zoomTriangl(){
return 0;
}
}
public static class Circle{
String colorCircle;
char centerCircle;
long radiusCircle;
long diametrCircle;
double areaCircle;
double lengthCircle;
}
public static class Square{
String colorSquare;
int sideSquare;
long areaSquare;
int perimetrSquare;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment