• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hello  RSS feed

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is all brand new to me and I need alittle help.
How can I create a function called Greet that is passed two parameters?
 
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch!

Unfortunately, that probably won't help much. You need to be more specific about what you're asking. Tell the details (and use a meaningful subject line). What have you tried? Why isn't it working? Are you getting compilation errors? Is it not performing as expected?
 
Ranch Hand
Posts: 43
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Frank,

Also, in Java, there is nothing known as 'function', we call it as 'methods' ( which represents (the Java way) the behavior of an Object )

Thanks,
Joydeep
 
Get out of my mind! Look! A tiny ad!
The WEB SERVICES and JAX-RS Course
https://coderanch.com/t/690789/WEB-SERVICES-JAX-RS
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!