Amit Badle

Ranch Hand
+ Follow
since Jan 31, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
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 Amit Badle

toroid
(cmon guys push this 1 till 500 )
[This message has been edited by Amit Badle (edited April 30, 2001).]
21 years ago
thats a cracker send us more
21 years ago
hi ,
u mayb right in 1 way that 2 ensure portability the I/O model seems very difficult 2 use. but then thats 4 the present. what do v get in the future... lets hope it is easier.
21 years ago
hi shashi,
well nathan has shown u a way 2 do it but thats not a generic solution as java does not have any pre-processor directives. so 4 the time being i think u shud b satisfied with using the names christined by the lords of java.
21 years ago
Traffic
(the new Douglas-Zeta Jones movie!! Good )
21 years ago
hey bodie,
thast a neat reply u have given and sure u can promulgate urself 2 b a guru ot I/O.
but lets go back in the annals of time. first v had the xxxxxStream classes for 8 bit streams. then v had the xxxxxReader and writer classses for 16 bit streams which are like wrappers. the 8 bit streams wer then deprecated( converted 2 16 bit if i'm not wrong). my question is cant I/O be a bit simpler as this is a bit taxing 4 a dunce like me. b/c other langs that i have learnt the I/O is simpler than this. and how can it be made simpler?
21 years ago
thalassemia
(erin whats phlebotomy :confused
21 years ago
hi cindy,
ur explanations as always are very helpful. thanx a lot.
21 years ago
hi atul,
ur question though being simple is a very important 1 as every other OOP concept depends on how u understand this. lets say u have to prepare tea ..now the most important thing r the ingredients, but just having the ingredients doesn�t give u ur cuppa of tea... u have to prepare ur tea. now from the same ingredients u can make n cups of tea some light some strong (ur choice). and after engaging in such an arduous task to enjoy ur cup of tea u pour it in that special bone china cup u had been gifted.
Suppose v write a program in java to prepare tea first v construct a class which has all the
ingredients and methods to prepare tea. then v take out a cup to pour our tea which is like creating a reference variable of a class. Then v can use this class to prepare I cup or n number of cups of tea.; here v create an instance( allocate memory ) of a class and enjoy it using our cup.
Hope I have helped u atleast a bit.
Amit
21 years ago
hi,
yes i have tried it and it does compile and run. the question arises that is each class in itself a driver program now ... i dont kno bout lots of other OOPs architecture but is this deliberately a part of the JVM architecture. coz the other langs i kno support only one main. or is it that such a thing does not create any probelms in the design of a program.
21 years ago