nandini paruchuri

Greenhorn
+ Follow
since Aug 27, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by nandini paruchuri

Welcome Jim Clarke, Jim Connors & Eric J. Bruno
15 years ago
Hi all:
I am getting really confused about assertion.
As I understood "assertion is a statement that enables you to test your assunptions about your program"
So if my assumptions are misassumed then why cannot I throe an exception instead of assertion.
May be I am missing something trivial.
Could someone help me out???
Thanks
nandini
Marlene:
After first while:127 -128
After second while:127 -127
After third while:255 -128
Thanks
nandini
Pradeep:
TIA --> Thanks in Advance
TIA
Nandini
Thanks for the answers.
Does that mean since main() is a static method...
it can only call static methods and can access static variables.

TIA
nandini
Hey..
Is the answer for above question C?
Thanks
nandini
Could anyone please explain me this...
Methods that are declared as static
1) Can only call other static members.
2)Can only access other static variables.
Thanks
Nandini
Hello:
Java version on my computer is 1.4.1_01.
But it does not have any compiler i.e. javac.dll in bin.
Is this version only for deployment???
Suggest me some latest version of Java that I can install.
Thanks
Nandini
Pradeep:
Yeah it surely helps but I just wanted to understand the logic behind main() method not returning anything.
Thanks
nandini
Thanks Deep that was helpful
I do understand its the main() signature but I just wanted to know why??
I mean public and static make perfect sense but why void??
And how do we represent float and double in byte format i.e
i.e for integer 1 can represented in 0000 0001
Thanks
nandini
Hi all:
Are Java types float and double signed???
Why should the return type of main() method should always be "void"???
I kind of know answers for both the questions but I just want to confirm.
TIA
nandini