This week's book giveaway is in the Spring forum.
We're giving away four copies of Spring Boot in Practice and have Somnath Musib on-line!
See this thread for details.
Win a copy of Spring Boot in Practice this week in the Spring forum!

farrukh mahmud

Ranch Hand
+ Follow
since Feb 13, 2001
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 farrukh mahmud

Hi
i need help from you guys how can i start interfacing in UML. i am implementing Streaming Control Transport Protocol now i have to make interfaces for Upper layer protocol and for IP as well. For upper layer protocol i am implementing callbacks and for IP i am using Raw sockets.
so plz give me a little way out how can i start interfacing using UML, start making sequence diagrams or etc....
waiting for your responses farrukh_mahmud@hotmail.com
Thanks to all of you because it was a great help.
------------------
Regards
Farrukh Mahmud
20 years ago
Hi All
prepartion of a month comes to end and after all i did. I studied so much for this exam which i had been never studied for my software engr final exams but i feel little guilty as i got tuff paper and only got 67%.
the Road Map which i adopt is
1- Study Beginning Java 2 by Ivor Horton
2- Thinking in Java by Bruce Eckel one of all time my Fav
3- Khalid Muhgal Book and RHE
4- Study Notes of Velmurugan which is very good for certification point of view.
5- Give many mock exams as u can
i got 78% marks in Khalid Mock and 70% marks in Marcus Green Exams but some how Internal Feeling is not good due to bad score.
But at thanks to Almighty Allah that i passed it.
Thanks to All ranchers gr8 forum of Java
------------------
Regards
Farrukh Mahmud
20 years ago

why it will throw an Exception
------------------
Regards
Farrukh Mahmud
Vikrama you got my question how can we look at the first instance that 11000000 is a negative number
i think so it is not a negative number reason being if it is int then int is 32 bit and 24 bit is empty which is on the left side
e.g
00000000 00000000 00000000 11000000
so it is not a negative number but in exam they dont write full 32 bit value they just only write 11000000.
Correct me if i am Wrong and plz come up with good explanation
Thanks
------------------
Regards
Farrukh Mahmud
i am familiar with Digital logic and design but i think i forgot a little thing which is
128= 10000000
and how can we decode that a its a negative no i hope u got like
2=00000010
-2=11111110 how can we know at first glance it is negative no because i think we look Left most significant bit which is set 1 then its negative plz clear my doubts with good example

------------------
Regards
Farrukh Mahmud
thanks guys explanation is good added by knowlwdge
------------------
Regards
Farrukh Mahmud
[CODE]
class A{}
class B extends A{}
class C extebds A{}
public class Test{
public static void main(String args[]){
A x=new A();
B y=new B();
C z=new C();
// insert styatement here
}
}
1- x=y;
2- z=x;
3- y=(B)x;
4- z=(C)y;
5- y=(A)y;
which one cause runtime exception
[CODE]
Answer is 3 but anyone explain all options kindly
thanks in advance

[code]
class Outer{
public String alpha="Instance Variable of Outer Class";
Outer(){} //works with any modifier public,private,protected
void Outer(String s){}
//Constructors can't be native, abstract, static, synchronized, or final:
class Inner{
void print(){
System.out.println(Outer.this.alpha);//-------------------(A)
}
}
//class Inner3 extends Inner{} cannot be possible
static class Inner4{ //works fine
public void method(){
Inner4 ref=new Inner4(); //can do only in static class methods -----------------(B)
}
}
//class static Inner4{} //does not--------------(C)
}
[code]
Question 1
plz expalin A,B,C correct me if i am wrong
Question 2
What type of Exception an Inner class can throw or may occur in Inner Class
Question no 3
[CODE]
class Outer{
class static Inner{}
}
How will you create an instance of static Inner Class? Select 2
a. Inner a= new Inner();
b. Outer o= new Outer();Outer.Inner a= new o.Inner();
c. Outer.Inner a= new Outer.new Inner();
d. Outer.Inner a= new Outer.Inner();
ANS is B,D but A also in a method of Static class???
[CODE]

Thanks in Advance
thanks Guys actually i failed to got the point
Thanks any Ways
------------------
Regards
Farrukh Mahmud


Hi all,
int a,i=3;
a=(i++)+(i++)+(i++);
Why a=12 in Java while 9 in C/C++ ?
Thanks.
everbeen


well there is parenthesis which increases the presedence of the operator
so its 4+4+4=12
Cprrect me if i am wrong

------------------
Regards
Farrukh Mahmud
Hi Marilyn deQueiroz
can u plz explain it because i am unable to grasp it or any other java Guru
Thanks

------------------
Regards
Farrukh Mahmud


Select only one:
(a) To provide threading behaviour a class must extend Thread class.
(b) To provide threading behaviour a class must implement Runnable interface.
(c) Threads created by user are always non-daemon threads.
(d)Thread created internally by the JVM are always daemon threads.
(e) None of the above are correct.


well first two options are correct if user want to create thread but third false and fourth true but we have to select one ans which is e
correct me if i am wrong

------------------
Regards
Farrukh Mahmud
Hi
yes i totally agree that itsnot easy to get some good projects and internships as well but there is some more chance of getting projects or internships if u certified. I think so all of us agree on that? but the problem will arise that you are doing java technologies and some how Microsoft beat Java in a race then all java players in no mens land. How young guys think of their own & start doing virtual projects?
ANY IDEA???
Second how u predict in percentage Microsoft Technolgies and java Technologies.
Thanks
------------------
Regards
Farrukh Mahmud
20 years ago


I am a recruiter for a software consulting firm in Chicago.
It's very hard to chase technologies and to predict the
future. At this point the Java market feels stronger to
me than the Microsoft market. However, I do think that there
will be a major resurgence in Microsoft interest as we
move into 2002.
With that said, though, pick one and concern yourself with
becoming very strong in OOAD concepts and database
technologies. In other words, spend a lot of time on the
transferable skills.
Scott


well i agree with you SCOTT that stick to single gun that is right but there will be possibility that when you make yourself professional in that gun then if that gun is obsolete by microsoft then i think so for the time being you find yours self in big headache?
AM i right, honestly i dont like Microsft technolgies but i think so its requirement or not?
THanks in advance

------------------
Regards
Farrukh Mahmud

20 years ago