Madhu repala

Greenhorn
+ Follow
since Jun 10, 2007
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 Madhu repala

Hi,

I am doing a job with core java,

Having 6 months experiance

I need a job in J2EE platform

Thank You
Madhu Repala
12 years ago
Thanku frindz....


prepare the K&B book....

its very munch enough..

ofcourse there are many books to prepare...


before day of the exam, revise what ever you learn till then...

be pationt while writing the exam....

becouse of all of you prepared well, every thing you know what ever the questions are.

if you are not able to answer a question, then recognize all the points of that question area from your prepation... then you will get a answer...

be ceated in exam up to the last minuite of the exam..


And ALL THE BEST for all of you...

i hope that You will get the score more than me..
13 years ago
Hi friends

This is madhu..

today i written SCJP1.5

I got 98%

Many of you helped me a lot

thanku so much




class Madhu
{

public static void main(String args[])
{
System.out.println(98+"%");
}
}
13 years ago
Hi friends

This is madhu..

today i written SCJP1.5

I got 98%

Many of you helped me a lot

thanku so much




class Madhu
{

public static void main(String args[])
{
System.out.println(98+"%");
}
}
13 years ago
hi friends...

Anybody can explain this code....

class Counter
{
private final String name;
private int coount;
public Counter(String name)
{
this.neme=name;
}
public String getname()
{
return name;
}
public void increment()
{
count++;
}
public int getCount()
{
return count;
}
public void reset()
{
count=0;
}
}


Which 3 changes would be made to adapt this class to be used safely by multiple threads? (choose two )

A. declare reset() using the synchronized keyword.
B. declare getname() using the synchronized keyword.
C. declare getCount() using the synchronized keyword.
D. declare the constructor using the synchronized keyword.
E. declare increment() using the synchronized keyword.


Answer: A, C, E.




Why these answers are correct ?

Why B, D are not correct ?
Hi ranchers,

Whats happening in the following program, why my assert stmt is not working.......

public class Threads implements Runnable {
private int x;
private int y;

public static void main(String[] args) {
Threads that = new Threads();
(new Thread(that, "first")).start();
(new Thread(that, "second")).start();
}

public void run() {
for (int i=0;i<10;i++) {
x++;
y++;
assert(x!=y): "x=" + x + ", y = " + y;
System.out.println(Thread.currentThread().getName() + "x=" + x + ", y = " + y);

}
}
}


//If the assert condition false then it should throw an AssertError am i correct


Please try this and give reply
thanks in advance
I have a Program like this..

package name is Game

in this package Board1,board2 two .java Files and .class files are there


How to make a jar file for this...


main method is in Board1 class...
Hi Ranchers...

i am very much Confusing About Development Chapter..(classpath, jarfiles.....)

Is there any other material for thet cahpter..

if so please give me suggestions...

Thanks in advance
Hai,
This is madhu,i am preparing for scjp1.5 exam, [Dubious request removed by Jesper Young] ,it is more important for me
Please do the needfull,
Email me: [E-mail removed by Jesper Young]
[ August 10, 2007: Message edited by: Jesper Young ]
Hi Friend,

Is there any Declaration, How many questions come from each topic...

If so please give me details....For SCJP1.5
Hi john,

Thanks for immediate reply....
Hi Ranchers,

I have 2 Doubts,...


1.What is primodial Class?

2.Polimorhism is a matter of Overriding? Is it true.


Thanks in Advance....
He neha,


listen carefully this thig,



tha thing is U can give access modifier to overriden method in child clas as exceedind accessability................


I thik U got the point...
Is there anybody can give me java1.5 example questions...........


I am beginer to write SCJP