Raj Young

Greenhorn
+ Follow
since Mar 16, 2005
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 Raj Young

It works fine. I don't see any error. can u post the error and the JDK used?
18 years ago
For primitive data type like int, float, double etc., it will be a pass by value.

For objects it will be a pass by reference.

Raj
18 years ago
java supports multiple inheritance with respect to interface but not to implmentation.

So Java's support to multiple inheritance limits with interface, not to implementaion.
19 years ago
you change the condition like j > 60 to print the values in descending order from 90.
19 years ago
Hi,

I am creating a JDialog as follows:

JDialog jd = new JDialog(frame, true);

in the frame, I have set the icon using

frame.setIconImage(image),

but the image set to this is not shown properly in Linux, but it is shown clearly in windows,

can anybody show some light here.

thanx,
Raj
19 years ago

Originally posted by Raj:
Hi Raghu,

ur soln is good,

19 years ago
yes u r right, no need to do Char.toString(), I directly concatenated the two values in the print method, that's why I didn't get previously.

System.out.println(ascending + descending);

that's why I have got the number it seems.

thanks for ur reply
19 years ago
Hi Raghu,

ur soln is good, and it works also thanks
[ March 21, 2005: Message edited by: Raj Young ]
19 years ago
char[] ch = {'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};

int j = ch.length;
System.out.println("ALPHABET FROM A TO Z alphabet from z to a");

for (int i = 0; i < ch.length; i++)
{
System.out.print(Character.toString(Character.toUpperCase(ch[i])) + Character.toString(ch[j - 1]) + " ");
--j;
}
System.out.println();




I think the above code sample helps
19 years ago