sony ali

Greenhorn
+ Follow
since Feb 24, 2001
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 sony ali

AOA: hi how r u? u r warmly welcome in our group. thanxs for joing.
i recommend u the books of "robert heller" and "khalid mughal". yes we r appearing from oracle track.
i think it s cheap.
i hope u will also appear from this track. i f u have any stradegy, plz let me know.
we r at the time doing mock& reading healer keenly.
wht r u doing?
have u any mock exam?
thxs
bybybyby
wish u best of luck
from "sony ali"
hi
Ian Heff
u say about escape sequences . well i m still confused & cant understand why the answer is strange.
well for u'r sake of interest the

char c = '\u000c'; //compiles
but u say it will not compile also.
ithink compiler is our friend thats why i asked him & he told me that it will compile.
thanx in advance
hi guys
dont worry we r back.we can mail to each other instead also.
i m also interested in appearing for scjp in the approx. 1st week of april.i m studying RHE & mughal. found these books very solid for scjp. do u have any other suggestions for consulting any other book.plz reply me.
wish u all best of luck.
hi all
it is a killer question asked in a mock.
Which of the following declarations will give a compiler error (Select two correct answers):
a. char c = '\u000a';
b. char c = '\u000b';
c. char c = '\u000c';
d. char c = '\u000d';
answer :
a , d
can any body explain why?
even following also compiles.
char c = '\u000e';
char c = '\u000f';

somebody plz explain why?



hi friends
plz someone explain that why is a=x not assigning the value of x to a.see the code below
boolean x = true;
int a;
if(x) a = x ? 1: 2;// Line 1
else a = x ? 3: 4;
System.out.println(a);
}
}
originaly posted by zeeeshan aziz.
the answer is 4.

hi:
i think u creat an ambugity in u'r code. plz clear it and precise it.
thx
bybyby
love to all
hi : hina mangal
actully my question s that as we know that "when a line having single line comments . it s not read by the compiler". so why here the compiler is reading this (//char a= \u000A)explain me.
hi: i mfacing a strange problem in comments. ie
i have a code
public class ali{

//char a='\u00A'
}
problem: whan i m compiling this code, the code s not compiling. i donot know why the compiler s reading single line coments?

second thing:
see this code
public class ali{
//int a= 2;
//byte b= 2;
//float f= 2;
//double d=2;
//in all other cases compiling
}
problem 2: when i mcompiling this code , it compile successfully.
plz explain the difference of these two problems.
thxs
bybyby
love to all