Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search Coderanch
Advance search
Google search
Register / Login
Ravi Pinnaboyina
Greenhorn
+ Follow
11
Posts
4
Threads
0
Cows
since Feb 19, 2007
Merit badge:
grant badges
For More
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
Ranch Hand Scavenger Hunt
Number Posts (11/100)
Number Threads Started (4/100)
Number Cows Received (0/5)
Number Likes Received (0/10)
Number Likes Granted (0/20)
Set bumper stickers in profile (0/3)
Report a post to the moderators (0/1)
Edit a wiki page (0/1)
Create a post with an image (0/2)
Greenhorn Scavenger Hunt
First Post
Number Posts (11/10)
Number Threads Started (4/10)
Number Likes Received (0/3)
Number Likes Granted (0/3)
Set bumper stickers in profile (0/1)
Set signature in profile
Search for a post/thread (0/3)
Set a watch on a thread
Save thread as a bookmark
Create a post with an image (0/1)
Recent posts by Ravi Pinnaboyina
SCJP 1.4 passed with 95%
Once again thanks a lot for all of U ........
Can anyone tell me info for logging in to the certmanager site I am not able to login , Is it compulsory to get registered in to the site??
show more
17 years ago
Certification Results
Doubt Regarding Anonymous Inner Classes
All constructors must declare the uncaught checked exceptions, if any.
Instance Initializers in anonymous classes can throw any exception.
I couldnt understand the second point, can someone give me an example....
show more
17 years ago
Programmer Certification (OCPJP)
regarding top level classes
Top level classes mean that classes that are not inner classes, not the classes which have a main method.
show more
17 years ago
Programmer Certification (OCPJP)
Doubt Reg: initializing Variables with method call
So it means that i and j will only be declared first only then assignment starts...
i.ie.,
int a=10;
int b=10;
first a nd b will be declared only then they get initialized???
Am I right??
show more
17 years ago
Programmer Certification (OCPJP)
Doubt Reg: initializing Variables with method call
How the output is printed as Zero.......
How is the value of i being resolved ?
private int i=getData();
private int j=10;
int getData()
{
return j;
}
public static void main(String arg[])
{
System.out.println(""+new ASample().i);
}
show more
17 years ago
Programmer Certification (OCPJP)
Doubt Reg. Exceptions
Is it that U need a code that can generate IOException to have a catch block for IOException.
Is this same even for remaining Exceptions ???
Then If dont write a any code and keep an Exception catch block why is this not complaining?
Is this behaviour specific to IOException only???
show more
17 years ago
Programmer Certification (OCPJP)
Doubt Reg. Exceptions
Why is this saying Unreachable code...?? Anything special for IOException
public static void main(String args[])
{
try
{
}
catch(java.io.IOException t)
{
System.out.println("Inside Catch");
}
}
show more
17 years ago
Programmer Certification (OCPJP)
Doubt Reg. Casting Object References
thanks Javier Now Iam clear with this.
show more
17 years ago
Programmer Certification (OCPJP)
Doubt Reg. Casting Object References
Is this same even in case of Interfaces.... Does we get a class cast Exception when using Interfaces?
Does the same rules apply to casting objects to interfaces?
[ February 19, 2007: Message edited by: Ravi Pinnaboyina ]
show more
17 years ago
Programmer Certification (OCPJP)
Why Compiler Error.
UNREACHABLE code since system.out.println is never executed since everytime you are throwing an Exception without any condition.
show more
17 years ago
Programmer Certification (OCPJP)
Doubt Reg. Casting Object References
hi frenz,
I had a doubt regarding Casting Objects to one another I understood about implicit casting, But when it comes to explicit conversions when does it throw Compile time Error and when does it give Runtime Exception(Classcast Exception).
show more
17 years ago
Programmer Certification (OCPJP)