Join Regular Classroom : Visit ClassroomTech

Exxon Mobil Overall Interview Questions – codewindow.in

Hot Topics

Exxon Mobil Solution

Technical Round

Tell us about your final year project and what was your role?

Tell about the project you did and your role in that project.

What is static variable? What is its use?

A static variable creates a single copy of the variable and is shared among all the objects at a class level.
Static variables are used to keep track of information that relates logically to an entire class, as opposed to information that varies from instance to instance.

What are access modifiers in Java?

n Java, access modifiers are special keywords which are used to restrict the access of a class, constructor, data member and method in another class. Java supports four types of access modifiers:
  • Default
  • Private
  • Protected
  • Public

    Modifier

    Default

    Private

    Protected

    Public

    Same Class

    YES

    YES

    YES

    YES

    Same package subclass

    YES

    NO

    YES

    YES

    Same package non-subclass

    YES

    NO

    YES

    YES

    Different package subclass

    NO

    NO

    YES

    YES

    Different package non-subclass

    NO

    NO

    NO

    YES

What is NULL pointer and far pointer?

NULL pointer is a pointer that is pointing to nothing. NULL pointer points to empty location in memory. The value of NULL pointer is 0. We can make a pointer to point to NULL.
Far pointer is a 32-bit pointer that can access information which is outside the computer memory.

Nagarro Solved

Automata Fixing

      

We Love to Support you

Go through our study material. Your Job is awaiting.

Recent Posts
Categories