Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search Coderanch
Advance search
Google search
Register / Login
Help coderanch get a
new server
by contributing to the
fundraiser
Avishkar Nikale
Ranch Hand
+ Follow
news
175
Posts
4
Threads
since Aug 06, 2010
Merit badge:
grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads
Recent posts by Avishkar Nikale
Cleared SCWCD 5 with 82%
Congrats Swati !!!
show more
14 years ago
Certification Results
Passed SCJP6
Congrats Dieter,
Your posts have also helped fellow ranchers a lot. ( e.g. the "Interface IS-A Object" one)
Do share your experience about the exam itself.
Cheers !!! Take a well deserved break...
show more
14 years ago
Certification Results
When finally{} won't be reached?
Please correct me if I am wrong, in all cases where your thread terminates abruptly the finally will not run.
show more
14 years ago
Programmer Certification (OCPJP)
Survey- What platform do you use to program in Java?
Mac @ Home
Windows @ Work
show more
14 years ago
Beginning Java
Need clarification on serialVersionUID variable in java class.
This post might help.
https://coderanch.com/t/489777/java/java/Java-class-consisting-serialVersionUID
show more
14 years ago
Java in General
instansof operator.
Dieter Quickfend wrote:
Good find Avishkar! Thanks for the clarification.
Thanks Dieter,
All the best with your exam.
show more
14 years ago
Programmer Certification (OCPJP)
Oh boy, am I new
Don,
All the best with your Java journey. The forum & ranchers are always here to help.
show more
14 years ago
Beginning Java
What is the origin of Foo Bar in so many Java examples , Also the famous "Hello World !!!" ???
Ernest,
Thanks for the link.
Man !!! Is there any question which has not been asked ???
( How about this one )
show more
14 years ago
Meaningless Drivel
small doubt
For the given example since it is a 1-D primitive array it will create one object on heap.
Can you elaborate your doubt so that we can explain better ?
show more
14 years ago
Beginning Java
instansof operator.
I think better explanation is that a subclass of the given class can implement the given interface hence the compiler creates no issues.
If you make the class final & there is no implementation of the interface in the hierarchy it will throw an compilation error.
E.g 1 will compile but Eg. 2 wont
1.
import java.io.Serializable; class One {} public class Main { public static void main(String[] args) { One o1 = new One(); System.out.println( o1 instanceof Serializable ); } }
2.
import java.io.Serializable; final class One {} public class Main { public static void main(String[] args) { One o1 = new One(); System.out.println( o1 instanceof Serializable ); } }
show more
14 years ago
Programmer Certification (OCPJP)
What is the origin of Foo Bar in so many Java examples , Also the famous "Hello World !!!" ???
What is the origin of Foo Bar in so many Java examples , Also the famous "Hello World !!!" ???
show more
14 years ago
Meaningless Drivel
What's in your fridge?
Joey Tribbiani : "Paper! Snow! A ghost!"
show more
14 years ago
Meaningless Drivel
Protected with JDK6 update 20
Rob & Shanky,
Thanks for the clarification.
show more
14 years ago
Beginning Java
instanceOf operator question
Can you post the complete code alongwith the class definitions for Browser etc?
We will be able to help you & explain you better.
show more
14 years ago
Programmer Certification (OCPJP)
problem with K&B Learnkey MasterExam question about hashCode & equals
Dieter,
I think when the information is not sufficient then to make an assumption we can stick with the ground rules.
( As sugested by Divyeshh )
show more
14 years ago
Programmer Certification (OCPJP)