Jobs

Java OOPS : Do interfaces have member variables?

Interfaces may have member variables, but these are implicitly public, static, and final- in other words, interfaces can declare only constants, not instance variables that are available to all implementations and may be used as key references for method arguments for example.

Java OOPS : Can we create an object for an interface?

Yes, it is always necessary to create an object implementation for an interface. Interfaces cannot be instantiated in their own right, so you must write a class that implements the interface and fulfill all the methods defined in it.

Java OOPS : Can we instantiate an interface?

You can't instantiate an interface directly, but you can instantiate a class that implements an interface.

Java OOPS : What is an Interface?

An interface is a description of a set of methods that conforming implementing classes must have.
Note:

*       You can't mark an interface as final.

*       Interface methods must be static.

*       An Interface cannot extend anything but another interfaces.

Java OOPS : How do you prevent a method from being overridden?

To prevent a specific method from being overridden in a subclass, use the final modifier on the method declaration, which means "this is the final implementation of this method", the end of its inheritance hierarchy.

                              public final void exampleMethod() {
                          //  Method statements
                          }

Java OOPS : What is super?

Super is a keyword which is used to access the method or member variables from the superclass. If a method hides one of the member variables in its superclass, the method can refer to the hidden variable through the use of the super keyword. In the same way, if a method overrides one of the methods in its superclass, the method can invoke the overridden method through the use of the super keyword.
Note:

*       You can only go back one level.

*       In the constructor, if you use super(), it must be the very first code, and you cannot access any this.xxx variables or methods to compute its parameters.

Java OOPS : How to invoke a superclass version of an Overridden method?

To invoke a superclass method that has been overridden in a subclass, you must either call the method directly through a superclass instance, or use the super prefix in the subclass itself. From the point of the view of the subclass, the super prefix provides an explicit reference to the superclass' implementation of the method.

        // from subclass

              super.overriddenMethod ();

Java OOPS :Is it possible to override the main method?

NO, because main is a static method. A static method can't be overridden in Java.

Java OOPS : Can overloaded methods be override too?

Yes, derived classes still can override the overloaded methods. Polymorphism can still happen. Compiler will not binding the method calls since it is overloaded, because it might be overridden now or in the future.



java OOPS: What are the differences between method overloading and method overriding?

 

Overloaded Method

Overridden Method

Arguments

Must change

Must not change

Return type

Can change

Can't change except for covariant returns

Exceptions

Can change

Can reduce or eliminate. Must not throw new or broader checked exceptions

Access

Can change

Must not make more restrictive (can be less restrictive)

Invocation

Reference type determines which overloaded version is selected. Happens at compile time.

Object type determines which method is selected. Happens at runtime.

Java OOPS : What is method overriding?

Method overriding occurs when sub class declares a method that has the same type arguments as a method declared by one of its superclass. The key benefit of overriding is the ability to define behavior that's specific to a particular subclass type.
Note:

The overriding method cannot have a more restrictive access modifier than the method being overridden (Ex: You can't override a

*       method marked public and make it protected).

*       You cannot override a method marked final

*       You cannot override a method marked static

Java OOPS :What is method overloading?

Method Overloading means to have two or more methods with same name in the same class with different arguments. The benefit of method overloading is that it allows you to implement methods that support the same semantic operation but differ by argument number or type.
Note:
Overloaded methods MUST change the argument list
Overloaded methods CAN change the return type
Overloaded methods CAN change the access modifier
Overloaded methods CAN declare new or broader checked exceptions
A method can be overloaded in the same class or in a subclass

Java OOPS:What is Dynamic Binding?

Binding refers to the linking of a procedure call to the code to be
executed in response to the call. Dynamic binding (also known as late
binding) means that the code associated with a given procedure call is
not known until the time of the call at run-time. It is associated
with polymorphism and inheritance.

Java OOPS: What is runtime polymorphism or dynamic method dispatch?

In Java, runtime polymorphism or dynamic method dispatch is a process
in which a call to an overridden method is resolved at runtime rather
than at compile-time. In this process, an overridden method is called
through the reference variable of a superclass. The determination of
the method to be called is based on the object being referred to by
the reference variable.

Java OOPS: Explain the different forms of Polymorphism.

There are two types of polymorphism one is Compile time polymorphism and the other is run time polymorphism. Compile time polymorphism is method overloading. Runtime time polymorphism is done using inheritance and interface.
Note: From a practical programming viewpoint, polymorphism manifests itself in three distinct forms in Java:
Method overloading
Method overriding through inheritance
Method overriding through the Java interface
 

Java OOPS: How does Java implement polymorphism?

(Inheritance, Overloading and Overriding are used to achieve
Polymorphism in java).
Polymorphism manifests itself in Java in the form of multiple methods
having the same name.
In some cases, multiple methods have the same name, but different
formal argument lists (overloaded methods).
In other cases, multiple methods have the same name, same return type,
and same formal argument list (overridden methods).

Java OOPS: What is Polymorphism?

Polymorphism is briefly described as "one interface, many
implementations." Polymorphism is a characteristic of being able to
assign a different meaning or usage to something in different contexts
- specifically, to allow an entity such as a variable, a function, or
an object to have more than one form.

Java OOPS : What is Inheritance?

Inheritance is the process by which objects of one class acquire the properties of objects of another class.
  • A class that is inherited is called a superclass.
  • The class that does the inheriting is called a subclass.
  • Inheritance is done by using the keyword extends.
  • The two most common reasons to use inheritance are:
  • To promote code reuse
  • To use polymorphism
 

Java OOPS : What is the difference between abstraction and encapsulation?

Abstraction focuses on the outside view of an object (i.e. the
interface) Encapsulation (information hiding) prevents clients from
seeing it's inside view, where the behavior of the abstraction is
implemented. Abstraction solves the problem in the design side while
Encapsulation is the Implementation.

Java OOPS : What is Encapsulation?

Encapsulation is a technique used for hiding the properties and
behaviors of an object and allowing outside access only as
appropriate. It prevents other objects from directly altering or
accessing the properties or methods of the encapsulated object.

Java OOPS :What is Abstraction?

Abstraction refers to the act of representing essential features
without including the background details or explanations.

Java OOPS : What are the principle concepts of OOPS?

There are four principle concepts upon which object oriented design
and programming rest. They are:

       Abstraction
       Polymorphism
       Inheritance
       Encapsulation. Easily remembered as A-PIE).

Urgent opening for MOSS version 3.3 with Cognizant Technology Solutions(CTS) Kolkata

There is an direct & permanent opening with Cognizant Technology Solutions(CTS) in Kolkata location

Job description is given below:

Role-Sr. Developer / Team Lead

Exp in Yrs- 6 to 8 yrs

Location-Kolkata

Skills-MOSS version 3.3

If you are interested for the following opening then send your Cv and the details ASAP

Kindly fill the following details for the process in CTS:

Name

Mail ID -

alternate Mail ID--

Current Location

Preferred to relocate:

Mobile-

DOB

Industry Type

Functional Area

Role

Current employer

Date of joining in the present company(dd/mm/yyyy)

Date of joining/exit in the previous company (dd/mm/yyyy)

Former CTS employee?

ID NO(If yes)

2 primary skills + relevent exp

Yrs of exp

Notice Period-

Current CTC

Expeted CTC

EDUCATION DETAILS
UG Qualification

University

Course

Discipline

College

PG Qualification (if any)
(College & university name as well course & Discipline )

10th marks & year of passing

12th marks & year of passing

Graduation marks & year of passing

PG marks & year of passing

Thanks & Regards,
Sayani Goswami
ZEDPOINT MANAGEMENT SERVICES PVT. LTD
Phone : +919804822410
Email- s.goswami@zedpoint.in

 

Delhi | Sr. Java Developer


Greetings!

Let me introduce Zito India, www.zitoindia.com, Delhi, as one of the leading Search & Selection Company in the country. We work with some of the leading names globally. With ongoing partnerships with many large National and Multinational companies, our track record is second to none.


Currently we are conducting a search for Sr. Java Developers for one of reputed client based at Delhi, URL - www.eperiumindia.com

Role: Sr. Java Developer

Must have:

1. Very good code writing skills: background and interest in test driven development,
strong understanding of object oriented programming
2. Well versed with Java.
3. Relevant industry experience (minimum 4) that helped the candidate gain insights
into aspects of application design: performance, scalability, algorithms, data/module
partitioning, maintainability/serviceability, deployment
4. Very good debugging, profiling skills


Please find attached a brief JD for your reference; in case the opportunity excites you may please reply via return mail with latest copy of your CV


Regards
Ramanpreet
Zito India
the Human Side of Business.
158, Aggarwal City Mall,
Road Number -44,
Pitam Pura,
New Delhi-110034
www.zitoindia.com

Project Lead - ASP.NET, C# | CMMI L5 MNC--R Systems

We take this opportunity to introduce R Systems International Ltd (www.rsystems.com), a PCMM Level 5 and CMMI Level 5 MNC, as a leading global provider of IT solutions. In India we are headqaurterd in Noida, with development centres in Pune and Chennai. We also have our offices in US, Europe, Singapore & Japan.

We have positions with us for Project Lead in our Noida ODC. Requirement details are given below

Position:- Project Lead
Experience Required:- 6-10 yrs

Skill Set:-

- Strong in ASP.NET, Database(SQL Server)
- Must have excellent communication skills and excellent team skills.
- Strong in Crystal Report

Kindly send us your resume in case you are interested in the opportunity along with the following details.


1. Your Self rating out of 10 in

a) C#, ASP.NET
b) SQL Server
c) XML

2. Joining time required.
3. Availability of passport/ B1 Visa
4. Current and Expected CTC.

Kindly provide your availability for weekday Interviews

Would highly appreciate if you could refer some good profiles for the above mentioned position.


Regards,

Abhishek Tyagi
R Systems International Ltd
An SEI PCMM Level 5 & CMMI Level 5 Company
C-40, Sector 59, Noida (UP). India
E Mail: abhishek.tyagi@rsystems.com

Sr Analyst - .Net GUI for Merrill Lynch;Chennai

This is Teaswi from Neo Solutions we are working for various companies, which even include ISO and CMM Level companies.
Scheduled Interviews would be conducted at Chennai on 12th June, 2010 (Saturday).

Following is the requirement :

Client : Bank of America
Position : Sr Analyst - .Net GUI
Experience : 6 to 9 Yrs
Job Location : Chennai

Please respond with following information with your updated resume:

Project Lead - Dot Net/Silver Light for RSystems-NOIDA

 
Rsystems(www.rsystems.com) - CMM 5 Level MNCs is looking for Project Lead - Dot Net/Silver Light for NOIDA Location
 
If interested please send an updated copy of your CV with full contact details to us at <TRH@AirtelMail.in> at the earliest.
 
Also please let us know:

1. Current Salary
2. Expected Salary
3. Joining Time
 
- Strong experience in Asp.Net.

- Strong in C#

- Minimum 1yr experience in Silver Light

- Must have worked with WCF

- Must be technically hands on.
- Excellent communication and leadership skills. .

Kindly revert back ASAP as the requirements are very urgent.
 

Thanx & Regards,

Harsh Rana / Rashmi Rana
TRH Consultancy Services
1058, 2nd Floor, Sector-14
Gurgaon, Haryana-122001
Landline : +91-124-4082756
Mobile : +91-98114-14221

E-Mail: TRH@AirtelMail.in