In the future, please don't start multiple topics for the same question. I've merged these two together.
You can post code by using the highlight tags.
// your code goes here
This...
Type: Posts; User: helloworld922
In the future, please don't start multiple topics for the same question. I've merged these two together.
You can post code by using the highlight tags.
// your code goes here
This...
public boolean methodName(String param1)
{
// some logic/code here
return true; // or return false;
}