Java Basic Practice Test-3

Can we execute any java statement without main method?

In Java there are any chance two object have same hash code?

How many public class are there in one Java Application?

Is Java always provide default constructor for every class?

Can A class be static?

Can we override a static method?

What is the void in java?

Which access modifier has widest scope among all other access modifiers?

How many times does garbage collector calls the finalize method for object?

Can the Garbage collection be forced by any?