This week's book giveaway is in the Cloud/Virtualization forum. We're giving away four copies of Cloud Application Architecture Patterns: Designing, Building, and Modernizing for the Cloud and have Kyle Brown, Bobby Woolf and Joseph Yodor on-line! See this thread for details.
List<Integer> ls1 = new LinkedList(); //line 1 List<String> ls2 = new LinkedList(); //line 2 List ls3 = new LinkedList(); //line 3 List ls4 =ls1; //line 4 List ls5 =ls2; //line 5 List ls6=ls5=ls4; //line 6
Only 1 and 2 will compile with a warning. Because you assigned a generic variable to a non-generic object. Allowed, compiles nicely, but you get a warning.
Yours, Bu.
all events occur in real time
Don't get me started about those stupid light bulbs.