Win a copy of Microservices Testing (Live Project) this week in the Spring forum!

Prashant Khurpade

Greenhorn
+ Follow
since Sep 03, 2008
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 Prashant Khurpade

Hi all ,

why generics cant be used with arithmetic operators?

private <T extends Number>T add(T num1, T num2){

T sum ;
sum = num1 + num2;
return sum;
}
hi all,

i need code using assert (describing its utility), how to enable it at run time ?( in netbeans 5.1 IDE),

thanks in advance,
Prashant.
hi all,
can any one explain about marker interface? i m confused about it.
explanation with source code will help alot.

thanks in advance,
Prashant
hi all,

what is use of creating static instance of a class, say

class MyCalss{

static MyClass myClass = new MyClass();

}
hi all,

is Khalid Mughal good one for SCJP5.0 ? or K.Sierra

need some more information on Generic n Collections, Threads n Synchronisation.

Thanks in advance,
Prashant.
hi all,

class A implements serializable{ // main class

class B{ // inner class


}

}

whether object of class B will also get serialized?

thanks in advance
Prashant
hi all,

i want some references to know much more about assertion and exception handling in java1.5 (other than K.Sierra)

thanks in advance,
prashant
Given:

Which, inserted at line 5, will compile? (Choose all that apply.)
A. Programmer debug() { return this; }
B. SCJP debug() { return this; }
C. Object debug() { return this; }
D. int debug() { return 1; }
E. int debug(int x) { return 1; }
F. Object debug(int x) { return this; }

in the answer, index "c" is incorrect, why it is so?

Programmer, SCJP all are implicitly derived from Object Class.
hi all,

I m goin' to prepare for scjp5.0 , so I need detailed course contents for this certification. Can anybody post detailed course content?

Thanks in advance
Prashant