Are the imports checked for validity at compile time? Will the code containing an import such as java.lang.abcd compile?
No Answer is Posted For this Question
Be the First to Post Answer
what is language and it responsibilities
What is private protected in java?
all are saying java doesn't support multiple inheritance but by default Object class is super class for all the user defined classes and we can extend atmost one class so each class can extend more than one class so java supports multiple inheritance?i am confused with this,pls any one explain me.
What is formatted output in java?
What is quick sort in java?
This is my code i have a doubt class ab implements a,b { public void add() { System.out.println("Hi") } } interface a { public void add(); } interface b { public void add(); } in this code i have two interface implemented in the class has same method.just i want to know which method of interface implemented in the class. interface a or interface b? confused me .
Why charat is used in java?
What are wrapper classes in java?
Is java type safe?
Explain the difference between comparator and comparable in java?
Why is the type for real numbers called double?
Explain final, finalize() and finally?