Filter interviews by
I applied via campus placement at Bannari Amman Institute of Technology, Sathyamangalam and was interviewed before Jul 2022.
Probability, Logical Reasoning, etc.
4 Basic coding questions
You can choose any language you want to code from.
Questions like palindrome and string reverse were asked.
1)Driffience between Abstract class &
Interface.
-abstract class
represents property
&
behaviour of an object
whereas
interface
represents
behaviour
of an object.
2)Driffience between equal() vs ==operator.
equal() is
an object class method
whereas
equal() of string class
override
the object class equal().
3)can we use pointer's in Java.
Not explicitly but implicitly we can use pointer's in java.
Dynamic m/m refers with help of pointer's but java does not support the pointer's.
when we r creating an object in java refrence varaible of an object holds the identity that is nothing but an implicit pointer that holds an unique identity of an object.
4)How we can print object ID.
-Object ID printed with help of object class which is a service provider class having 9().
5)what is object class.
-it is a super class of all predefined & userdefined class.
6)Write a prog to get name of main thread in java.
-class A
{
psvm(String args [])
{
s.o.pln(Thread.currentThread().getName());
}
}
7)length vs length()
-length
is
data menmber
of proxy class
whereas
length() is a string class().
I applied via LinkedIn
Coding is little difficult so please go through logic
1)Driffience between Abstract class &
Interface.
-abstract class
represents property
&
behaviour of an object
whereas
interface
represents
behaviour
of an object.
2)Driffience between equal() vs ==operator.
equal() is
an object class method
whereas
equal() of string class
override
the object class equal().
3)can we use pointer's in Java.
Not explicitly but implicitly we can use pointer's in java.
Dynamic m/m refers with help of pointer's but java does not support the pointer's.
when we r creating an object in java refrence varaible of an object holds the identity that is nothing but an implicit pointer that holds an unique identity of an object.
4)How we can print object ID.
-Object ID printed with help of object class which is a service provider class having 9().
5)what is object class.
-it is a super class of all predefined & userdefined class.
6)Write a prog to get name of main thread in java.
-class A
{
psvm(String args [])
{
s.o.pln(Thread.currentThread().getName());
}
}
7)length vs length()
-length
is
data menmber
of proxy class
whereas
length() is a string class().
based on 1 review
Rating in categories
Senior Consultant
4.1k
salaries
| ₹8 L/yr - ₹25.5 L/yr |
Consultant
3.4k
salaries
| ₹6 L/yr - ₹21 L/yr |
Lead Consultant
3.3k
salaries
| ₹10.4 L/yr - ₹36 L/yr |
Software Engineer
3.2k
salaries
| ₹3.5 L/yr - ₹13 L/yr |
Associate Consultant
2.9k
salaries
| ₹4.6 L/yr - ₹15 L/yr |
Cognizant
TCS
Infosys
Accenture