The variable traingle1 is declared and initialized inside the main() method so is local to main(). If you want to use triangle1 outside the main() method, then declare the variable as a class...