I'm happy you see the problem. Of course in real life nobody would program like that.
I'm trying to figure it out becuase I'm preparing for java Certification Exam
Now look at the piece of code...
Type: Posts; User: dan1967
I'm happy you see the problem. Of course in real life nobody would program like that.
I'm trying to figure it out becuase I'm preparing for java Certification Exam
Now look at the piece of code...
package JavaLibrary1;
import java.io.*;
public class Print {
public Print(){ System.out.println("HELLO");};
public static void print(Object obj) {System.out.println(obj);}
...
Hi again,
I'm just trying to learn about the Java rules regarding shadowing/ name colission.
I used this program as an example for this. My code in the first post is all the code there is.
The...
I apologize Norm, I renamed my class Derived from my program to class Foo here, so the eror mesaage is the same with Derived replaced by Foo as below:
Compiling 1 source file to...
Hi Norm
first below I give you the full compiler error message:
Compiling 1 source file to C:\TIJ4\Problems\Chapter8\Chapter8Ex3\build\classes...
Hello everybody !!!
Given the code below:
package JavaLibrary1;
import java.io.*;