Thread: Source Code
View Single Post
  #4 (permalink)  
Old February 7th, 2006, 10:30 AM
nappydyno234 nappydyno234 is offline
Registered User
Join Date: Feb 2006
Location: Belleville, NJ, USA.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to nappydyno234 Send a message via Yahoo to nappydyno234

I figured out that initial error, but I received three more errors for the following source code:

public class power {
    public static void main(String[] args) {
     int base;
     int order;
     int p;, order);
     System.out.println("Java power" base order);
     System.out.println("Mariner Eccles");
     p = pow(base, order);
} cannot find symbol
symbol : method println(int,int)
location: class, order);
              ^ cannot find symbol
symbol : method println(java.lang.String,int,int)
location: class
     System.out.println("Java power", base, order);
               ^ cannot find symbol
symbol : method pow(int,int)
location: class power
     p = pow(base, order);
3 errors

Once again, if anyone knows anything on how to help, please let me know. It would be greatly appreciated.

Reply With Quote