Interesting java code

View previous topic View next topic Go down

Interesting java code

Post by BIT0112-Rokon on Fri Oct 15, 2010 6:29 am

Interesting ...............

very very interesting ..............

Code:

public void doSomething( boolean verify ) {
if (verify) {
 // do something
} else if (!verify) {
 // do some other thing
} else {
 // do something wierd
}


_________________________________________________________________


Code Explosion Blog | Code Explosion Wiki | The Rokonoid | নির্ঝরিণী
avatar
BIT0112-Rokon
Programmer
Programmer

Course(s) :
  • BIT

Blood Group : O+
Posts : 673
Points : 1269

View user profile http://blog.codexplo.org

Back to top Go down

Re: Interesting java code

Post by BIT0122-Amit on Fri Oct 15, 2010 6:41 am

Neutral যদি argument boolen হয়, তাহলে verify আর !verify বুঝলাম Neutral
কিন্তু else আসে কই থেকে? o.0

_________________________________________________________________
Adminship / Moderatorship is not about power, it is about Responsibility.

|About me|My Blog|
avatar
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

View user profile http://iitdu.forumsmotion.com

Back to top Go down

Re: Interesting java code

Post by BIT0102-Mohaimin on Fri Oct 15, 2010 12:56 pm

BIT0122-Amit wrote:Neutral যদি argument boolen হয়, তাহলে verify আর !verify বুঝলাম Neutral
কিন্তু else আসে কই থেকে? o.0

That is the joke part!!! You are not joking I gaze...
avatar
BIT0102-Mohaimin
Programmer
Programmer

Course(s) :
  • BIT

Blood Group : B+
Posts : 415
Points : 715

View user profile

Back to top Go down

Re: Interesting java code

Post by BIT0122-Amit on Fri Oct 15, 2010 1:08 pm

confused I guessed that should be the joke part... But it was not funny to me.
BTW Mohaimin, it is the word "guess" you were trying to use, right? Wink

_________________________________________________________________
Adminship / Moderatorship is not about power, it is about Responsibility.

|About me|My Blog|
avatar
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

View user profile http://iitdu.forumsmotion.com

Back to top Go down

Re: Interesting java code

Post by BIT0220-Iftekhar on Fri Oct 15, 2010 9:30 pm

the else is the else part of else if
what would it return if the instruction inside the if part and else part is different ?
avatar
BIT0220-Iftekhar
Administrator-RC

Course(s) :
  • BIT

Blood Group : B+
Posts : 434
Points : 630

View user profile http://iftekharunplugged.blogspot.com

Back to top Go down

Re: Interesting java code

Post by BIT0112-Rokon on Sun Oct 17, 2010 1:40 pm

BIT0102-Mohaimin wrote:
BIT0122-Amit wrote:Neutral যদি argument boolen হয়, তাহলে verify আর !verify বুঝলাম Neutral
কিন্তু else আসে কই থেকে? o.0

That is the joke part!!! You are not joking I gaze...

exactly!!

_________________________________________________________________


Code Explosion Blog | Code Explosion Wiki | The Rokonoid | নির্ঝরিণী
avatar
BIT0112-Rokon
Programmer
Programmer

Course(s) :
  • BIT

Blood Group : O+
Posts : 673
Points : 1269

View user profile http://blog.codexplo.org

Back to top Go down

Re: Interesting java code

Post by BIT0122-Amit on Mon Oct 18, 2010 1:34 am

what do you mean by exactly?

_________________________________________________________________
Adminship / Moderatorship is not about power, it is about Responsibility.

|About me|My Blog|
avatar
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

View user profile http://iitdu.forumsmotion.com

Back to top Go down

Re: Interesting java code

Post by BIT0129-Tabassum on Sun Feb 13, 2011 1:33 am

Topic moved to this section Smile

_________________________________________________________________
মানুষ তার স্বপ্নের সমান বড়
avatar
BIT0129-Tabassum
Global Moderator
Global Moderator

Course(s) :
  • BIT

Blood Group : A+
Posts : 1496
Points : 2298

View user profile http://probe-tabassum.blogspot.com

Back to top Go down

Re: Interesting java code

Post by BIT0102-Mohaimin on Sun Feb 13, 2011 11:12 am

BIT0129-Tabassum wrote:Topic moved to this section Smile
This section is not appropriate for this section I suppose. It was a jock!!!
avatar
BIT0102-Mohaimin
Programmer
Programmer

Course(s) :
  • BIT

Blood Group : B+
Posts : 415
Points : 715

View user profile

Back to top Go down

Re: Interesting java code

Post by BIT0112-Rokon on Sun Feb 13, 2011 11:46 am

I think this is very much pointless to notify the users by posting this silly line "Topic moved to this section".
I would like to request our Great, Great and Great GLOBAL MODERATOR to stop doing this.

_________________________________________________________________


Code Explosion Blog | Code Explosion Wiki | The Rokonoid | নির্ঝরিণী
avatar
BIT0112-Rokon
Programmer
Programmer

Course(s) :
  • BIT

Blood Group : O+
Posts : 673
Points : 1269

View user profile http://blog.codexplo.org

Back to top Go down

Re: Interesting java code

Post by BIT0122-Amit on Sun Feb 13, 2011 11:51 pm

BIT0102-Mohaimin wrote:
BIT0129-Tabassum wrote:Topic moved to this section Smile
This section is not appropriate for this section I suppose. It was a jock!!!

I won't be so sure about that Neutral It is a joke only programmers should understand Neutral

BIT0112-Rokon wrote:I think this is very much pointless to notify the users by posting this silly line "Topic moved to this section".
I would like to request our Great, Great and Great GLOBAL MODERATOR to stop doing this.

I guess Rokon is in a bad mood Neutral

Anyway, I will take full blame for your irritation. The thing is, under normal circumstances, when a topic is moved, the moderator replies there because the user sometimes does not even know where his topic went. And then thinks that it was deleted for no reason. Again, it helps all keep track of things a moderator is doing.
But irrelevant topics is an exception Smile

Anyway, all the moderators who posted here are hereby requested to check the moderator's zone Smile

_________________________________________________________________
Adminship / Moderatorship is not about power, it is about Responsibility.

|About me|My Blog|
avatar
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

View user profile http://iitdu.forumsmotion.com

Back to top Go down

Re: Interesting java code

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum