Java

Dedicated to the discussion of the Java programming language a...
Jan 1, 2016 05:39
This year you will turn out to be 25!
Jan 1, 2016 05:39
Happy New Year JAVA !!
Dec 25, 2015 12:25
@fge @VamshiRakela Moreover, every event handling stuff takes place on separate EDT because most of the Swing elements are not thread safe.
Dec 24, 2015 16:55
Merry Christmas to all !!!! Have a great time !!
 
Aug 9, 2014 01:57
Are you sure i think it will consider it to cas.Integer and not java.lang.Integer??
Aug 9, 2014 01:54
As compiler will first refer to the Integer created by you
Aug 9, 2014 01:53
I think to avoid conflict between two classes with same name you should go for fully qualified name as right now your Integer var; is refering to class inside your package and don't import java.lang.Integer
Aug 9, 2014 01:49
See java.util.Timer and javax.swingx.Timer is still conflicting if you import both.
Aug 9, 2014 01:49
Yes that's why you should be specific while importing some class.Either of the timer can only be used with fully qualified name no other option.
Aug 9, 2014 01:49
Yes but cas.Integer and java.lang.Integer is conflicting and only way to avoid is use fully qualified name cas.Integer