Ravi KumarJd

Greenhorn
+ Follow
since Feb 04, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Ravi KumarJd

Hi folks,

My OCJP exam scheduled on 13th Feb. Practiced some mock questions/tests from Kathy - Bert book and from one online site. Please could you suggest, if any tips for me to get a good score please and any free mock exam sites?. Also any one has any idea about the question distribution on below topics.

Declarations, Initialization and Scoping
Flow Control
API Contents
Concurrency
OO Concepts
Collections / Generics
Fundamentals

Thanks
This really makes sense and answers my question. Thanks Sanyal
Great answer - Thank you. I agree with you we cannot import instance methods or attributes directly with import statement. I wondered why the compiler not stopping me, when I append .* after a concrete class. If I understand correctly, for non static concrete Types/classes it's NOT better to append .* after the class name though the compiler okay.
Hi -

I know we can use static import to for static methods and variables. I tried to import instance members in the same fashion static import and as expected it gave compiler error. But when use this import package2.TestClass.*; compiler didn't complain anything and I'm not able to the import class even. Any specific use with this kind of import package.class.* ?

Regards,

Ravi