Ivan Ivanoff

Ranch Hand
+ Follow
since Jan 04, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ivan Ivanoff

Constructor Summary for Float from API:
Float(double value)
Float(float value)
Float(String s)
for Byte:

Byte(byte value)
Byte(String s)
Prabobly we just need to memorize it ...
Dear J-ranchers,
Would you please recommend me a good tutorials/test-exams/approach-ideas on Collections Framework to pass 1.4 exam.
ANY HELP WOULD BE GREAT!
THANK YOU.
Opssssssss! Typo ....
please ignore me I wanted to type :
B b = new A();
sorry....
Dear ranchers - please take a look at this simple code :
====================================
public class A extends B
{
public static void main(String s[]) {
A a = new B();
}
}

class B {}
===================================
Why it's giving me "incompatible types" compiler error ???
Thanks !
Thank you Corey for your help.
But I still have a dark corner in my
"walking compiler" head.
According to your path : "compiler doesn't look that closely"...
How would I know when compiler will look that closely and when not ? I am still belive that my 'try{}' block will newet throw any exceptions ...
but may be some Severe JVM Exceptions - is' it possible in this case?
Any help would be great.
thx
Hi all, please take a look on this fun one :
1 public class AAA
2 {
3 public static void main(String []a)
4 {
5 System.out.println("A");
6 try
7 {
8 return;
9 }
10 catch(Exception e)
11 {
12 System.out.println("B");
13 }
14 System.out.println("C"); //14
15 }
16 }

Compiles fine - runs fine (printing "A").
Why compiler is not giving me the compile time error due to the statement on line 14 ?
-From my understending line 14 will never be reached in this program (unreacheble code) hmm...
Any help would be great.
THX Brent ! - got your point
while(!isInterrupted()){}
-works fine too .
THX!!!
ha all ,
JQ+ 1003499030687 Test10:
=============================================
class A extends Thread
{
public void run(){
System.out.println("Starting loop");
while(true){};
}
}
public class TestClass
{
public static void main(String args[]) throws Exception
{
A a = new A();
a.start();
Thread.sleep(1000);
a.interrupt(); //!!!
}
}
==============================================
Given ans from JQ+ : it will run & never end.
==============================================
My question :
how does interupt() method works ?
& why it's not breaking this thread inside of
"while(true)" loop ?
Any help would be great
Pilite giri Shura - oni zolatie
Great notes Jamal !
I really like your flash demos & notes - looks very sharp !
thx
Thank you Valentin !
I don't need 100% - just need more then magic 61%
hi,
where do I get statistic score information on test results from jq+ , real exam , and others exams ?
URL www.jdiscuss.com/Enthuse/jsp/ViewAllResults.jsp
seems not to be working for me.(due to Internal Server Error )
I'm getting 70%-80% on JQ+ &
around 80% on all Marcus tests
Thinking if I am ready yet ...
Any help would be great
THANK YOU
finaly will always execute !
(with one exeption when you got System.exit() in your try or catch block)
-so your return statement in finaly block will overlay other return.