Triangle Areas - Please help before I smash my laptop into pieces!

Code:

`public class TriangleArea `

{

int a, b, c;

TriangleArea()

{

this.a=0;

this.b=0;

this.c=0;

}

TriangleArea(int a, int b, int c)

{

this.a=a;

this.b=b;

this.c=c;

}

public static void main( String[] args){}

public double Sidea =0.0, Sideb =0.0, Sidec =0.0, area=0.0;

public TriangleArea(double sa, double sb, double sc)

{

Sidea=sa;

Sideb=sb;

Sidec=sc;

}

public void calcArea()

{

double s=0.0, Num=0.0;

s = 0.5*(Sidea+Sideb+Sidec);

Num = s*((s-Sidea)*(s-Sideb)*(s-Sidec));

area = Math.sqrt(Num);

}

public double getArea()

{

return area;

public static boolean isValid(double side1, double side2, double side3)

{

return(((side1 + side2) >side3) && ((side2 + side3) > side1) && ((side3 + side1) >side2));

public static double area(double side1, double side2, double side3)

{

double s = (side1 + side2 + side3)/2;

double area = Math.sqrt(s * (s - side1) * (s - side3));

return area;

Moderator Edit: code tags added