Gajendra Kangokar

Ranch Hand
+ Follow
since Dec 25, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Gajendra Kangokar

Henry Wong wrote:
And yes, it accepts "F", which has a value of 15. What is value of "X" in Hex?



Yes.X is an invalid character in Hex ,hence it is not determined.
Thank You Henry.
8 years ago
why is it not valid?
when it accepts F and other letters,why not X?
8 years ago


Hi All,
In the above code line 1 executes fine but line 2 throws NumberFormatException.
Why is it so?

Thank You
Gajendra KM
9 years ago
Yes right


In rum time the above code becomes



we dont want code that compiles fine but gives error at runtime so compiler does not allow to have such methods
In second example you have used argument List without generics which is equals to List<?>.
That means you have overloaded method instead overriding,so it compiles.

Where as in other two example you are overriding where return type must match to parent method.
hi
my apache-tomcat -7.0.54>logs directory is empty

why is there no log file in apache server?
9 years ago
Hi
Hope I posted the question in the right section of the forum.

In Jenkins we use cron to schedule

there are 6 asterisk . * * * * * * is equal to Minute ,Hour ,Day of month ,Month ,Day of week ,Year .

*/5 * * * *
this implies every 5 minutes.How?
and does /5 belong to first asterisk? if yes,there are only 5 asterisk above. where is 6th asterisk?

and what does following statement mean?

To allow periodically scheduled tasks to produce even load on the system, the 'H' token can be used. For example, people often use '0 0 * * *' for a daily job, but this ends up causing a large spike in midnight. In contrast, doing 'H H * * *' would still execute a job once a day, but the actual time of the day this gets executed will be spread over by Jenkins.


H * * * * *
And what is "H"?

Please clarify me about this.
Thank You
9 years ago

Paweł Baczyński wrote:
Fields of an object are initialized before constructors are called.



Fields of class are not initialized before constructor call but Constructor initializes the fields of class.
Hi
How to print this "" as output?


Is it possible?
Thank You
9 years ago
Hi,
which thread has highest priority.
Is it the Thread with higher number (8) or lower number (5).
This might be a silly question,still I am confused.


Thank You


Hi,

above is my xml configuration using JPA hibernate I have mapped my Entity class as well (Employee),
whenever I start hibernate, Employee table is newly created and i loose all data from the table which was stored last time.

I have also commented this line <!-- <property name="hbm2ddl.auto">create</property> -->.
please someome tell me where i am gone wrong,what is the solution.

Thank you
Gajendra
what is the use of @Retention annotation or how it should be used
RetentionPolicy.RUNTIME
RetentionPolicy.SOURCE
RetentionPolicy.CLASS

when to use each type of retention.
can anyone please give an example

Thank You
Hi

the above query works fine
I want to know what will be the query to get count from the same query.
following things did not work


Thank You
Gajendra
hello ritchie,
how about object oriented thought process book?if you have read it.
thanks
10 years ago