Leoo yu

Greenhorn
+ Follow
since Nov 01, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Leoo yu

May be use ***.propeties to store these projest parameter .
18 years ago
Why you still use 'System.err.println(),System.err.print, System.out.println()' , use logger instend .
18 years ago
Please check if you have use really manager user .
18 years ago
The table have one editable column 'Amount',
then input 1500 in the 'Amount' column, select the first row of this column ,press enter, the cursor goes to the next row 'Amount' column, try to type 1450 in the second row 'Amount' column, but on the screen, it shows 15001450


How can solve this problem.(get the value 1450).
[ February 20, 2006: Message edited by: Leoo yu ]
19 years ago

Originally posted by Saket Barve:
You are given adequate supplies of paper, pencil and the like before you begin the test. You are free to ask for more, before or during the course of your test.

Saket


sure , you can encourage yourself with adequate supplies.

Result : foobarHIT
I hope this can help you .
Leoo yu

Originally posted by Jayashree Mohan:
See this...

int i = 4*6-3/2<<2*5>>>1%2-4^3;
According to me, arithmetic operations preceed over binary shift operators , taking this into account, the answer to i is 0 but when I run , I get an answer 3.

This is how I evaluated.
int i = ((4*6)-(3/2))<<2*5>>>((1%2)-(4^3))
int i = 23<<10>>>-2
int i = 23552>>>-2
int i = 0

Now, what is wrong ???



Of cource ,it's wrong .
PRI : Unary > Arithmetic > Relational > Logical > Conditional > Assignment.
*/+-<<>>> are Arithmetic ,and ^ is Logical .
SO:
int i = 24-1<<10>>>2-4^3
i = 23<<10>>2-4^3
i = 23<<10>>-2^3
i = 0^3
I hope it can help you.
Leoo yu

Originally posted by Alistair Burrowes:
Actually there is a drag and drop question in one of the whizlabs exams which has 23 blanks. Hopefully the real exam isn't so bad.

Well, that makes it harder



Expecting !!!
"After line 6 at least one object has more than two references "
Because t3 just have one reference t2.link.
That's be explained by Lakshmanan Arunachalam kindlly.

Leoo.
Give you some suggest.
You must know the the differences of Object and DataType....
such as Boolean and boolean.
These is the foundation of java learning.
That's right.
The test questions always have these trap.
So please be carefull.

After you run this programmer , you will know the reson.
"Static methods can't be overridden " , that's means the child static methods cann't overridden the parent methods when programmer
runing. the child always use parent static methods when you use it's static method.