Ganesh Patekar

Saloon Keeper
+ Follow
since Jun 24, 2015
Ganesh likes ...
Eclipse IDE Hibernate jQuery MySQL Database Spring Tomcat Server
This soul began to dwell in this body named Ganesh Patekar since 31/07/1987 in Solapur, Maharashtra, India.
Being youngest child in the family had happy childhood but I was also an obstinate kid As days go by I became more amiable.
I had persuaded Bachelors of computer application( BCA, Batch 2007-10 ) from Sinhgad College of Science, Pune. I’m so greedy about learning so couldn’t stop there so persuaded Master of computer application ( MCA ) from Sinhgad Institute of Management, Pune. I used to act as emcee and compare in college events. Those were the best days of life.
I really adore to learn new things. I always eager to write a beautiful code I enjoy visiting natural places near by Pune on weekends.
I’m passionate about maintaining good physic so I do yoga, pranayama and workout regularly because I think, health is wealth.
Pune, Maharashtra, India.
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads

Recent posts by Ganesh Patekar

Sounds funny though...

10 hours ago
Topic Icons
  • Table incorporates topic icons with their respective meanings which will help to understand the current status of topic.

  • IconMeaning
    Topic with unread post(s)
    Topic with read post(s)
    Hot topic with unread post(s)
    Hot topic with read post(s)
    Requested topic with unread post(s) to be marked as resolved
    Requested topic with read post(s) to be marked as resolved
    Resolved topic with unread post(s)
    Resolved topic with read post(s)
    Unresolvable topic with unread post(s)
    Unresolvable topic with read post(s)
    Locked topic with unread post(s)
    Locked topic with read post(s)
    !Flagged topic for more attention
    Topic moved to appropriate forum Or merged with other topic by a moderator
    Unread Wiki page
    Read Wiki page
    News topic with unread post(s)
    News topic with read post(s)
    Announcement topic with unread post(s)
    Announcement topic with read post(s)
    Last reply on the topic
    Topic/post has been awarded cow(s)
    Post has earned 1 pie slice
    Original poster/ topic starter

  • Topic marked as hot topic when it gets 20 or more replies
  • To flag a topic, enter number of flags and click Add flag(s) button at the bottom of topic page.
  • To request your created topic as resolved, click on Resolved button at the top of topic page. Resolved button will be invisible once you click on it
  • 23 hours ago

    Andreas Pagonides wrote:Is this a last minute change or did they make a mistake?

    They had mistakenly written 2019 i had also seen that, now updated to 2018. So yes it's December 31, 2018. See here and here.
    Philippe De Neve,
    Congratulations!! that's really a great score.

    Randy Maddocks wrote:.....#MeToo movement and so many male celebrities, in particular, being accused of various questionable actions towards female co-workers, associates, etc.... That's not to say I am against a movement like that, it's great to see something like that that can empower women.

    Same thing is going on in India since last month, who knows how much truth is in that.

    Lesson: No matter what situation you are in, how angry you become. Stay calm and keep quit let this Time pass else smashing anything on the floor makes things more worse specially your cell phone. 

    1 day ago
    Scheduled promotions:

    Note: We can run more than one promo in a given week, so check for updates.

    Starting DateCoverBookAuthor(s)PublisherCodeRanch Forum
    November 13Learning Java by Building Android GamesJohn Horton  PacktAndroid
    November 20No Promo - US Holiday
    November 27Available
    December 4Modern Java in Action Raoul-Gabriel Urma, Mario Fusco & Alan MycroftManningLambdas & Streams
    December 11Spring in Action (5th edition)Craig WallsManningSpring
    December 18Microservices in Action Morgan Bruce & , Paulo A. PereiraManningWeb Services
    December 25No Promo - Holiday
    January 1No Promo - Holiday
    January 8Electron in ActionSteve KinneyManningServer Side JavaScript & Node
    January 15Available
    January 22Available
    January 29Available

    Go back to the main BookPromotions page.
    2 days ago

    Jean-Marcel Belmont wrote:Sorry everybody but it looks like I got swapped with John Horton, I didn't write this book unfortunately but John Horton did

    Thank you so much Jean. 
    2 days ago
    Welcome to CodeRanch once again 
    2 days ago
    It appears you haven't initialized those two String variables in the constructor. Will you please post the complete new updated code?
    4 days ago

    Jeremiah Waters wrote:I'm trying to create a code that will compare two Strings to determine if the first word should be placed before or after the second word in the dictionary

    If you user input String two = "Ape"; which gives resulted output abe should be placed after Ape which is incorrect as per dictionary word order so better use compareToIgnoreCase(...) method.

    I guess you're initializing those two instance variables in a parameterised constructor of class WordsCompare then you can validate them by putting a if statement in it as following

    By the way following code
    imports all the static members of the System class which you seem not using anywhere, you can remove that or make use of it as follow in Main class's main method.

    4 days ago

    Carey Brown wrote:however I still feel that toString() should call it otherwise there's nothing to guarantee that it is called before toString() is called.

    I think the same.
    4 days ago

    Carey Brown wrote:You might want to consider putting the logic in your compare() method directly into your toString() method and then do away with compare() and the member variable "compare". Seems like that would be cleaner.

    Just a doubt.

    You mean put the code of compare method into toString method and remove compare method and instance variable compare?

    If that's what you meant, wouldn't that be better to keep code of comparing string separate in a method compare rather than mixing that code in the method toString? which probably changes the meaning or what name of method i.e. toString implies? I mean when we see toString we ought to think it converts something to String.

    What if we write method compare as following

    which also removes compare instance variable? what would you suggest?
    4 days ago
    Mohammed Abobakr,

    Congratulations !!   

    Thank you for coming back and reporting us. Good to know you have had good experience. It would be really helpful for other OCA certification aspirants if you share the resources and how you prepared to achieve this milestone.