Core java - Interview Questions and Answers for 'Itc' | Search Java Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com
Share

Search Interview Questions


 3167 questions in repository.
 There are more than 200 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Core java - Interview Questions and Answers for 'Itc' - 5 question(s) found - Order By Newest

Basic and Very Frequently asked.
  Q1. What is Polymorphism in Java ?Core Java2016-11-06 09:10:54

Ans. Polymorphism means the condition of occurring in several different forms.

Polymorphism in Java is achieved in two manners

1. Static polymorphism is the polymorphic resolution identified at compile time and is achieved through function overloading whereas

2. Dynamic polymorphism is the polymorphic resolution identified at runtime and is achieved through method overriding.

  Sample Code for overloading

  Sample Code for overriding

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     polymorphism  object oriented programming (oops)  oops concepts  oops concepts     Credit Suisse  Unbounded Solutions  Microsoft   Google  Purch  HCL Technologies  Tata Consultancy (TCS)  Wipro  Mathworks  Accenture  Accenture India  ZonOff  ZapCom  Addteq  Priceline.com  Acute Informatics  Trimax IT Infrastructure & Services   USAA  HCL Technologies  FDM Group  AppEnsure  Inov8  TIAA  Revature  Lockheed Martin  ScotiaBank  Algorhythm Tech  Aurus  Xpanxion  Bitwise Pune  GS Labs  Bitwise India  CRIF  Saggezza  Synchrony  Micro Focus  Mindtree  Zycus  Capgemini  ZapCom Group  Infosys Technologies  SLK Group  Intuit Bangalore  Quickr  Comviva Technology  Altimetrik  IDEALINVENT Technologies  Kewill  coMakeIT  Vekomy Technologies  Eze Software  State Farm  Rolta  State Street  High Radius  Cerner  TIBCO  3i Infotech  Goldman Sachs  ITC  abhra  InteractCRM  Polaris  Naggaro  Siemens  Hexaware Technologies  Skillnet solutions  Logixal Solutions Mumbai  Naaptol Mumbai  Logixal Solutions  NSETECH  Mastek Mumbai  AppAmplify Noida  HexaView Technologies  Wipro  Wittybrains Software Technologies  Meenakshi Noida  Eastern Software Systems Noida  MediaAgility Gurgaon  Daffodil Software  Oracle Gurgaon  Kellton Tech Gurgaon  Bharti Airtel Gurgaon  IHS Markit Gurgaon  Sinew Gurgaon  Grappus Gurgaon  Erricson Gurgaon  Deloitte  Accenture  Accenture India  Tech Mahindra  Patni Computers  L&T Infotech  Mphasis  Mindtree  Hexaware  Collabera  3i Infotech  IGate  Kpit Technologies  NIIT Technologies  Trianz  Persistent Systems  IT Asset  FIA-US  VanGuard  General Atomics      Basic        frequent

Try 2 Question(s) Test


 Q2. What data type Variable can be used in a switch statement ?Core Java
Admin
info@buggybread.com
Ans. Variables used in a switch statement can only be a byte, short, int, or char ( and String with Java 7 and above )

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     java   switch   variable   data type      basic        rare


 Q3. Strings in switch were introduced in Which Java version ? a. Java 5 b. Java 6 c. Java 7 d. JavaCore Java
Anonymous
Ans. Java 7

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     java   switch   string in switch


 Q4. Difference between if and switch ? Can we replace all switch statements with if statements ?Core Java2017-07-24 13:10:25

Ans. if statement is used to do 2 direction branching whereas switch is used to do multi direction branching in Java.

Yes we can replace all switch statements with nested if statements.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     switch  if vs switch


 Q5. What is context switching wrt Threads in Java?Core Java2018-07-20 17:59:54

Ans. Context Switching is the process of storing and restoring of CPU state so that Thread execution can be resumed from the same point at a later point of time.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     Threads  multithreading  context switching




Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
Enter your email address:
Delivered by FeedBurner



comments powered by Disqus
 

Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked:
         

X Close this

X Close this

Help Us Improve.
Please share your
interview experience.

Company Name:   


Questions Asked: