This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Java in General and the fly likes calling method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "calling method" Watch "calling method" New topic

calling method

Neel Chow
Ranch Hand

Joined: Jan 10, 2005
Posts: 55
I have started coding in java for a few days.
Is it ok to call a metthod from another methodin java?
I am asking in terms of good programming practice.
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24190

Yes, of course. It's not only OK, it's extremely common.

[Jess in Action][AskingGoodQuestions]
Neel Chow
Ranch Hand

Joined: Jan 10, 2005
Posts: 55
I agree. Here's the link:
subject: calling method
It's not a secret anymore!