Prakash Mahto

Ranch Hand
+ Follow
since Nov 07, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Prakash Mahto

hi
i had cleared certification on 31st July. and the people at test center told that you will get certification on mentioned address.
Till now, i had not got any certification.

so, how i can get certification?
is there other way to get certification.
I had given through Pearson vue.

Thanks
Hi
getInt() method is working fine and returning 5 without error even if return type is short. but when we call print method with 5 as parameter, it is asking for the proper casting to short. why it is so?

public short getInt(){
print(5);//does not compile why?
return 5; // does compile
}

public void print(short s)
{
System.out.println("short")
}
Thanks Vijay... for formatting code...

which option can be selected in class C to compile successfully and it should make use of polymorphism?
A company has a business application that provides its users with many different reports. The company has just purchased some new state-of-the-art, wireless printers and a programmer has been assigned the task of enhancing all of the reports to use not only the company old printers but the new wireless printers as well. When the programmer discovers that because of the design of the application, it is necessary to make changes to each report to support the new printers. Which two design concepts most likely explain this situation?
A. Tighter encapsulation
B. Low cohesion
C. Tight cohesion
D. High cohesion
E. Loose cohesion
F. Object mutability
A team of programmer is reviewing a proposed API for a new utility class. After some discussion, they realize that the current design allows other classes to access methods in the utility class that hold be accessible only to methods in the utility class itself. What design issue has team discovered?
A. Tighter coupling
B. Low cohesion
C. High cohesion
D. Loose coupling
E. Weaker encapsulation
F. Stronger encapsulation
A team of programmers is reviewing a proposed API for a new utility class. After some discussion, they realize that they can reduce the number of methods in the API without loosing any functionality. If they implement the new design which two OO principles will they promote?
A . Looser coupling
B. Tighter coupling
C. Lower coupling
D. Higher coupling
E. Weaker encapsulation
F. Stronger encapsulation


interface A
{
public int getValue();
}
class B implements A
{
public int getValue()
{
return 1;
}
}
class C extends B
{

}

which three are valid code fragments to insert into class C ?

1. public void add(C c)
{
c.getValue();
}

2. public void add(B b)
{
b.getValue();
}
3. public void add(A a)
{
a.getValue();
}
4. public void add(A a, B b)
{
a.getValue();
}
5. public void add(C c1, C c2)
{
c1.getValue();
}

again this question is also not clear to me that how to select particular answer?
Many Many Congratulation Yasir!!!
13 years ago
Hi Babugouda,
You can get voucher from nearest NIIT center.
I bought from there only.

Thanks,
Prakash
Hi all,
I am from India.
I had recently bought a voucher having keycode and candidate id. the expire date is 31 dec 2011.
But i am not getting where I need to register to activate and schedule my exam.

Can anybody please help me or send me link where I can register? I had registerd on prometric website using normal registration process. the link is given below

https://www.register.prometric.com/CreateProfile.asp?cookie%5Ftest=1

Thanks,
Prakash
congrats dear!!!
13 years ago
Hi Abhay
You provided really good information.
Thanks
Hi
I donot think as it contains bitwise operator.

Please correct me if i am wrong.
Thanks
Hi all.
I think only 5 objects will be created.
for String[] args of main method --- how new object will be created because we are not using any new keyword there.

Please clear my doubt

Thanks