shazar kv

Greenhorn
+ Follow
since Mar 16, 2007
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 shazar kv

Map is an Interface NOT a class defined in java.util package.Map.Entry is another Interface defined in the same package.

Map interface contains a method called entrySet() - Returns a set view of the mappings contained in this map..The return type of the method is Map.Entry.

The Map.entrySet method returns a collection-view of the map, whose elements are of this interface(Map.Entry)

Regards
Shazar
16 years ago
//initialize num variable as it is a local variable
short num = 0;
// used for inputting data through keyboard.Alternative to Streams which is newly introduced in jdk1.5.Import java.util.Scanner inorder to use this
Scanner keyboard=new Scanner (System.in);
System.out.println("Number?");
// Assigning num variable whatever number you have entered through keyboard
// nextShort() of Scanner class Scans the next token of the input as a short.
num=keyboard.nextShort();
//initialize String variable bi as it is declared locally
String bi = "";
while(num>=1)
{
if(num%2==0)
bi="0";
if(num%2==1)
bi="1";
num/=2;
}
System.out.println(bi);

The output will always be "1" as the statement "num/=2" will make the num an odd value even if you have entered an even value
16 years ago
Please share some of the best available SCWCD mock tests and study materials link..i m following HFSJ.

thanks & regards
shazar k.v
Please tell me the best available guide for SCWCD exam.Also provide me some useful links for the SCWCD materials..

Thanks & Regards
Shazar
Today i passed the scjp 1.4 exam with 86%..Thanks berry bates and kathy sierra for that fabulous SCJP Guide....


[HENRY: Changed to more descriptive subject title]
[ April 14, 2007: Message edited by: Henry Wong ]
16 years ago
Hi,
which is the best book for preparing SCWCD1.4 exam?..Also provide me some links for materials of the same
16 years ago

Originally posted by Armen Demirjian:
Hello, how are you ???

I have a huge collection i can send if you want, provide your email please ...

Good luck ...

Armen Demirjian SCJP 1.5 ...


EDIT by mw: If you want to request these materials, please Post Reply to this topic. Please do not begin a new topic. Thanks!

[ March 06, 2007: Message edited by: marc weber ]