Skip to contentSkip to footer
  • Community
  • Jobs
  • Companies
  • Salaries
  • For employers
      Notifications

      Loading...

      Elevate your career

      Discover your earning potential, land dream jobs, and share work-life insights anonymously.

      employer cover photo
      employer logo
      employer logo

      TO THE NEW

      Engaged employer

      About
      Reviews
      Pay and benefits
      Jobs
      Interviews
      Interviews
      Related searches: TO THE NEW reviews | TO THE NEW jobs | TO THE NEW salaries | TO THE NEW benefits
      TO THE NEW interviewsTO THE NEW Java Programmer interviewsTO THE NEW interview


      Glassdoor

      • About / Press
      • Awards
      • Blog
      • Research
      • Contact Us
      • Guides

      Employers

      • Free Employer Account
      • Employer Centre
      • Employers Blog

      Information

      • Help
      • Guidelines
      • Terms of Use
      • Privacy and Ad Choices
      • Do Not Sell Or Share My Information
      • Cookie Consent Tool
      • Security

      Work With Us

      • Advertisers
      • Careers
      Download the App

      • Browse by:
      • Companies
      • Jobs
      • Locations
      • Communities
      • Recent posts

      Copyright © 2008-2026. Glassdoor LLC. "Glassdoor," "Worklife Pro," "Bowls" and logo are proprietary trademarks of Glassdoor LLC.

      Company Bowl sample

      Want the inside scoop on your own company?

      Check out your Company Bowl for anonymous work chats.

      Bowls

      Get actionable career advice tailored to you by joining more bowls.

      Followed companies

      Stay ahead in opportunities and insider tips by following your dream companies.

      Job searches

      Get personalised job recommendations and updates by starting your searches.

      Java Programmer Interview

      14 Sept 2015
      Anonymous interview candidate
      Noida
      No offer
      Positive experience

      Application

      I applied through university. The process took 2 days. I interviewed at TO THE NEW (Noida) in Sept 2015

      Interview

      First day: round was mcq round with aptitude, english, coding, logical reasoning questions. eg. adding two numbers of byte datatype using assigned numbers like add(3,4); Second day: face to face interview on java with oops concept. It was conducted @ the intelligrape office

      Interview questions [1]

      Question 1

      Second Round Q)Two interfaces have same method declaration. Both the interfaces are implemented by class.. which of the two method will be overridden? Q)Find output of: try{ int x=5/0;} catch(Exception e){ System.out.println("Exception");} catch (ArithmeticException ae) { System.out.println("ArithmeticException occured!"); } Q)signature of a function vs method declaration Q)Will the code perform overloading? class A{ public void print(){ System.out.println("Void Print"); } public int print(){ System.out.println("Integer Print"); return 8; } } Q)Will the code perform overriding? class A{ public void print(){ System.out.println("Void Print"); } } class B extends A{ public int print(){ System.out.println("Integer Print"); return 8; } } Q) what are the OOPS concept that can seen in the following code(blank/empty class)? class A{} Q) Check whether a number is odd or even without arithmetic operator. Hint: Typecast to string. Check last digit Q) Default access specifiers of class methods and variables Q)Real time example of abstraction, encapsulation, inheritance, data hiding. Example class abstract phone with child class mobile and landline. Write properties and methods. Q) Class A { public void method1(){} } Class B extends B { public void method2(){} } which is possible? A obj=new B(); or B obj=new A(); Q) Which of the following datatypes are mutable and how and why? string, int, float, double, char Q) Can a interface extend more than 1 interface? Q) Can a class implement more than 1 interface? Q) WAP input: aaa1bbb2ccccc3 ouput: aabcc Q) which operator is overloaded in java? Q) java advanatages over c/c++? Q) Name diifferent ways to create objects in java Q) find common objects in list {1,{1,2},{1,2,3}} Next Level of Coding Interview Q) WAP to input Username & Password of user. Check whether is username and authenticated; if not the increment the counter by 1. Maximum three chances are allowed for the same IP address request. If counter is equal to 3, block all the requests from the IP Address
      Answer question
      8

      Top companies for "Compensation and Benefits" near you

      avatar
      IBM
      3.6★Compensation and benefits
      avatar
      Concentrix
      3.6★Compensation and benefits
      avatar
      Dell Technologies
      3.5★Compensation and benefits
      avatar
      Hewlett Packard Enterprise | HPE
      3.6★Compensation and benefits