Tuesday, June 20, 2006

Java Tiger-Roars really hard!!

Hi all, So lets start out techo campaign(code named-COLGATE ha ha).. Lets start with an intro to Java Tiger..We will discuss about the new features in this session and in deatil in subsequent sessions..So GET,SET,GO... Java Tiger (Java SE 5.0) Probably this is the biggest and the most visible realease of Java.Lets look into how Java evolved wrt the Language changes.

1. JDK 1.0
Initial Language,Very Popular.

2. JDK 1.1
Inner Classes,newer model

3. JDK 1.2,1.3
No changes at language level

4. JDK 1.4
Assertions(Minor laguage change)

5. JDK 1.5
Biggest changes to language since JDK 1.0

The J2SE 5.0 release is focused along certain key themes:

Seven Major New features introduced in Tiger are:

1.Generics
2.Autoboxing/Unboxing
3.Enhanced FOR Loop("foreach)
4.Type-Safe Enumerations.
5.Varargs.
6.Static Import.
7.Meta Data(annotations..its really kewl!!)

We will discuss in detail about each one of the above,after I read about them in detail..ha ha...bye for now..
Enjoy JAVA!!

Regards,
Anshul Khandelwal

Friday, June 16, 2006

Java Rules-Part 1.

Hi folks,
Sorry for the procrastinated effort of mine to techo-nize my blog!!

Let me start with a basic comparision of languages..This has nothing to do with Java,but just a vision of a programmer.

Eiffel Smalltalk Ruby Java C# C++
Object-Orientation Pure Pure Pure Hybrid Hybrid Hybrid / Multi-Paradigm
Static / Dynamic Typing Static Dynamic Dynamic Static Static Static
Generic Classes Yes N/A N/A No No Yes
Inheritance Multiple Single Single class, multiple "mixins" Single class, multiple interfaces Single class, multiple interfaces Multiple
Feature Renaming Yes No Yes No No No
Method Overloading No No No Yes Yes Yes
Operator Overloading Yes Yes? Yes No Yes Yes
Higher Order Functions Agents (with version 5) Blocks Blocks No No No
Lexical Closures Yes (inline agents) Yes (blocks) Yes (blocks) No No No
Garbage Collection Mark and Sweep or Generational Mark and Sweep or Generational Mark and Sweep Mark and Sweep or Generational Mark and Sweep or Generational None
Uniform Access Yes N/A Yes No No No
Class Variables / Methods No Yes Yes Yes Yes Yes
Reflection Yes (as of version 5) Yes Yes Yes Yes No
Access Control Selective Export Protected Data, Public Methods public, protected, private public, protected, "package", private public, protected, private, internal, protected internal public, protected, private, "friends"
Design by Contract Yes No Add-on No No No
Multithreading Implementation- Dependent Implementation- Dependent Yes Yes Yes Libraries
Regular Expressions No No Built-in Standard Library Standard Library No
Pointer Arithmetic No No No No Yes Yes
Language Integration C, C++, Java C C, C++, Java C, some C++ All .NET Languages C, Assembler
Built-In Security No No? Yes Yes Yes No







Till you evaluate the languages,I shall prepare the next articel for this tech session..bbye..

Monday, June 12, 2006

Tech Treat!!

After remaining totally unaquainted(for 3 yrs at TIET) from this very essential part of engineering-TECHNOLOGY....!!
I have now decided to dedicate my blog to carve out some Techno Stuff(god knws from where!!)...So get ready for some bombastic and some real technocrat type stuff(which i also dont understand!!)....

This Week's Theme-JAVA RULES.

Regards,
The Thinker.

Thursday, June 01, 2006

A giggly morning!!!

I woke up in the morning..
looked through the window pane...
an angel in white was passing by the lane....
She was happy n gay...
but she didnt know she ws the prey...
She was vexed by the wind...that blew her wig....
No wonder why she went insane...
I dont knw who to blame...
but it was Dr. Batra persisting the pain...
She got a cherubic face...
but all went in wain....
as her baldy head was her only bane...
I gave a boisterous mirth...
as it started to rain..
She looked at me with disdain....
But i was shameless....
U knw why...'bcoz i started again....
She veered sharply...to pick up her wig..
But lets not bother....its all mundane....:>

Have a nice day....