I-Flex TEchnical Test 09/06/2007
1.What will be the output?
boolean a = false
if (a=true)
{
System.out.ptinln("Hello");
}
else
{
System.out.ptinln("GoodBye");
}
2. Hashmap , hashset , ArrayList(true, true, false)
3.Which need to imlement formake a thread
runnable
thead
run
....
4.if a session has got expire and i want to make sm database logic to
Entity Baean waht will happen
1.RemoteInterface Exception
2.EJBobject Exception
3.will do work
4.Class not foundException
5.select deprtId,count(*) from Employee where salary >10000
Gourp by deprtId,count(*) having count(*)>10
1.it will return select rows
2.it give error at having clouse
3.it will give error at goup by clouse
4.non of above
6.Entity bean is invoke by a
1.newinstance()
2. create()
7. To invoke a stateless bean which statement is right
1.it can use only on create method of stateless bean
2.it can use NewInstance()
3. can use overloaded create method
4.
8.Where super(5) will be written to make correct this programm:
public class Base
{
Base(Int i)
{
System.out.println("Base constructor");
}
base()
{
}
Class upper extends Base
{
Upper()
{
..............(1)
}
Upper(5)
{
..............(2)
}
Upper a = new Upper();
Upper a = new Upper(5);
}
}
-
Interview Candidate
- Jun 9th, 2007
- 6
- 1892
Showing Answers 1 - 6 of 6 Answers
Related Answered Questions
Related Open Questions
I-Flex TEchnical Test 09/06/2007
boolean a = false
if (a=true)
{
System.out.ptinln("Hello");
}
else
{
System.out.ptinln("GoodBye");
}
2. Hashmap , hashset , ArrayList(true, true, false)
3.Which need to imlement formake a thread
runnable
thead
run
....
4.if a session has got expire and i want to make sm database logic to
Entity Baean waht will happen
1.RemoteInterface Exception
2.EJBobject Exception
3.will do work
4.Class not foundException
5.select deprtId,count(*) from Employee where salary >10000
Gourp by deprtId,count(*) having count(*)>10
1.it will return select rows
2.it give error at having clouse
3.it will give error at goup by clouse
4.non of above
6.Entity bean is invoke by a
1.newinstance()
2. create()
7. To invoke a stateless bean which statement is right
1.it can use only on create method of stateless bean
2.it can use NewInstance()
3. can use overloaded create method
4.
8.Where super(5) will be written to make correct this programm:
public class Base
{
Base(Int i)
{
System.out.println("Base constructor");
}
base()
{
}
Class upper extends Base
{
Upper()
{
..............(1)
}
Upper(5)
{
..............(2)
}
Upper a = new Upper();
Upper a = new Upper(5);
}
}
Related Answered Questions
Related Open Questions