s sivaraman

Ranch Hand
+ Follow
since Feb 01, 2015
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
1
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by s sivaraman

thank you for the reply morgan.

I don't know if you've seen the Java tutorial on annotations, but here is the link. It's an excellent reference: Annotations in Java



that's first place before i go elsewher for clarification.


A very simple example is: before annotations the compiler had to assume that you knew what you were doing if you overrode a method, such as, paint. Now with annotations most of the IDE's will give you a little added warning via a tag that says--hey, you're doing an override--and you can then do the annotation for override "@Override" and both you and the compiler know that you actually meant to override that paint method instead of it being an accident cause by a poor naming scheme in your program



annotations like @override are undestandable but what about annotations with elements having values? what it actually buys you.
7 years ago
Hi ,

i was wondering how the compiler recognize the element of the annotations like @SuppressWarning("unused").
and one more thing i read annotation elements can be set values while decleration of annotations, what is the purpose of those values anyway,i mean , never we are able to use as we use the variable.

i know everything has a purpose but i couldn't get it.
can any one explain the later with example.

thank you
7 years ago
Hi,

do you guys know which is the appropriate version of eclipse IDE for java EE development?
i found one from http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/mars/2/eclipse-jee-mars-2-win32-x86_64.zip&mirror_id=1093 but it doesnt seem to be working after i extract the zip file.
Note: while i extract it i got archive corrupt error and checksum error,nevertheless i was able to extract it completely.

thank you
Hi,
Here i'm to get some suggestion on which book / tutorial of hibernate best for beginners.
kindly give your thoughts.

thankyou


The code you quote has a BeerExpert class, not a Triangle class.
Is that just a typo?



yes, but you got it right down here.


Assuming you intended to compile
>javac BeerExpert.java
you need to make a directory structure something like:

exercise/src/com/model/BeerExpert.java
exercise/bin



i get it.


8 years ago
Hi

i'm got confused while compiling a simple java class from command line.

here is the class,



when i compile above using this D:\j\excercise>javac Triangle.java from command line , there was no directory created as the package name.
may be i should have compiled it as D:\j\excercise>javac -d com\model Triangle.java to create the package like directory.

but i found out while compiling a servlet programe that package name like directory creation was automatic.

am i missing something or is there reason for those two.?

thank you
8 years ago
hi,

i'm learning collections in java.while , i dont think it's enough to know just the API's in a collection.
what else i should know about collection, probably like which collection to use depends on the requirement, would be worthy?
Moreover, Data structures are the intrinsic part of collection .where i can find about that?


Thank you
8 years ago
you want me to do that to enable assertion,dont you?
8 years ago


output

enter the speed of the car:-4
the speed of the train is -4

thank you
8 years ago


i'm working on gui implementations so i tried the above.
i welcome suggestions on the design of the same.

thankyou
8 years ago
thank you for the response.
i'm gonna carry on with that tutorial.
Hi,

i dont know where to post this question as i couldn't find a appropriate place than my usual place this one.
i'm starting to learn j2ee
could someone direct me where to start and what are the study materials to use?
This might have a vast answer.however ,its ok if you share your own experience before you mastered j2ee.

thank you
Hi,

could someone tell me where i can study about data structures?

thank you

sivaraman
8 years ago
Thanks for the reply.
i dont know what do you mean by binary and text.
so far as what i read , i infer that there are two streams byte and character.
correct me i'm wrong? could you!
8 years ago
Hi,

i'm reading basicIO in java where i found only two streams byte and character ,while both buffered.
i wonder why only this two type of streams why not any other type of stream???


Thank you
sivaraman.s
8 years ago