right i dont know if i am doing this right or if i am following the rules of java but i cannot compile the code that extends the original
origin:
package com.google.stuff;
public class origin {
public origin() { }
public static void main(String args[]) {
int hello123 = 32;
int hello1234 = 32;
System.out.println(hello123 + hello1234);
}
}
extention:
package com.google.stuff;
public class extentionorigin extends origin{
public static void main(String args[]) {
int hello123 = 233;
System.out.println(hello123 + hello1234);
}
}
this is probably way off the mark but all help is greatly appreciated, i have been stuck on this issue for months