yaa ryt thnx for the important tip .... but a small correction non static method can't be called with static context so either call them with a object or use it as a static method .....
anyways...
Type: Posts; User: rihan
yaa ryt thnx for the important tip .... but a small correction non static method can't be called with static context so either call them with a object or use it as a static method .....
anyways...
when i run dis code method part shows errors
the unnecessary line(println before method) u r referring is just to check if dere is any other problem ...... do u know wen does this happens ...
import java.io.*;
class method
{
public static void main(String args[])
{
System.out.println("hey ho");
void clear()
{
System.out.println("Finally its working ");