This week's book giveaway is in the
We're giving away four copies of a choice of
"Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac"
and have Joe Kissell on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
Programmer Certification (SCJP/OCPJP)
Joined: Apr 17, 2002
May 03, 2002 09:01:00
hi all ..
how to resolve questions like
int a = 6; b = 7,c;
c = a++ + ++b;
thx in advance
Joined: Dec 20, 2001
May 03, 2002 09:17:00
Just evaluate the operands from left to right, like this:
// Step 1 c = a++ + ++b; // a = 6, b = 7 // Step 2 c = 6 + ++b; // a = 7, b = 7 // Step 3 c = 6 + 8; // a = 7, b = 8 // Step 4 c = 14; // a = 7, b = 8
You can do a search in this forum and find lots of examples like this.
SCJP Tipline, etc.
Joined: Jan 07, 2002
May 03, 2002 09:45:00
Welcome to JavaRanch. Please change your name to comply with the naming policy to which you agreed when you registered here..
For your publicly displayed name,
use a first name, a space, and a last name.
You can change your name here:
You can also find the naming policy here:
Help needed on Inheritance
HFSJ Mock Exam 2 Question
disadvantages with java
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014