Getting errors in my java program.Please retify my program errors,Explain the mistakes?

class Cine
{
double t=70.00;
String i="CINEPOLIS";
String j="HAPPY";
{
public void worldCine();
{

System.out.println("Ticket rate:" +t);
}
public void worldCine1();
{
System.out.println("Theatre name:" +i);
}
public void worldCine2();
{
System.out.println("Movie name:" +j);
}
}
public static void main(Strings[] args)
{
worldCine(Cine.+t);
worldCine1(Cine.+i);
worldCine2(Cine.+j);
}
}

Im beginner in Java

"Getting errors" tells us nothing. If you have a compiler or runtime error message post the complete message plus the actual code it refers to. If your code is giving an incorrect result explain what result you get and what the correct result should be.
If you want people to read your code, indent it properly.

Your "errors" are both logical errors and syntax errors
Syntax errors:
-when you write a method, you can't use the semicolon, just open the curly braces then write your code then close it.
-in your main method it's a "String" instead of "Strings"
-as JamesCherrill said, indent your code, so you can read it properly and faster.
Logic error:
-Since your variables are declared in a way that all your class methods can access it, you don't need to pass the variable when you call your method.
this would be enough for you worldCine();

Now consider my notes then rewrite your code and post it here so that i or other members can help you more.

public void worldCine();
{
System.out.println("Ticket rate:" +t);
}

you should not have a ; right behind the method definition.

Thank you everyone.My program is excuted.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.