Posts

Showing posts from October, 2009

Refletion API

Hope that everybody having problems with the reflection API will get some help from this tutorial.
This is what the sun java tutorials say about this API.
Reflection is commonly used by programs which require the ability to examine or modify the runtime behavior of applications running in the Java virtual machine. This is a relatively advanced feature and should be used only by developers who have a strong grasp of the fundamentals of the language. With that caveat in mind, reflection is a powerful technique and can enable applications to perform operations which would otherwise be impossible.
you can get the full sun tutorial Here.
So sun says "This is a relatively advanced feature and should be used only by developers who have a strong grasp of the fundamentals of the language" so i don't know why they added this to CSE syllabus in the third lecture?????.
What to do now we must learn it so i thought to make a simple tutorial so everybody can understand.
Let's start
To lo…

Getting Startd with JAVA -1

Image
Now What's JAVA ??

java is one of the best and most used programming languages used these days.The things you can do with java are endless.And it is so vast that you cant just finish learing it.

So lets get started.lets first see what you will be needing to get started
1.first you need a computer(he he he)


2.you need to install some JDK version on your computer
The latest can be downloaded Here


3.A Software to Write programs in

It's realy easy to use one than to type on the notepad and run manualy.If you want to learn from scrap you should use JCreator LE.because it only provides the basic needs you can learn a lot you can get it Here.

If you want to do High level programing use NetBeans IDE You can find the latest version Here .This is not good for basic learning because it does more than half of the coding for you

4.Configuring your pc(this part is not needed if you use NetBeans)
You must set the eniviroment variable to the bin folder do as below

Find where the bin folder…