Java - Interview Questions and Answers for 'Computer sciences corporation (csc) india' | Search Java Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com
Share

Search Java Interview Questions


 2137 questions in repository.
 There are more than 200 unanswered questions.
Click here and help us by providing the answer.
Label / Company      Label / Company / Text

   



Interview Questions and Answers for 'Computer sciences corporation (csc) india' - 3 question(s) found - Order By Newest

  Q1. What is Serialization ? Why do we need it ?Core Java
Anonymous
Ans. Storing the state of an object in a file or other medium is called serialization.

Classes can communicate only if they are built together ( as they need Byte code for communication ). What if we need to enable communication between different applications ( i.e they have been built independently or even they reside at different locations ), We need a mechanism that will transfer the Bean state to a Medium than can be transferred to the receiving application.

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

   Like      Discuss      Correct / Improve     java   oops   serialization     Computer Sciences Corporation (CSC) India   Tieto  Uproar  Priceline.com  HCL Technologies  Cognizant (CTS)      basic        frequent

Try 1 Question(s) Test


Related Questions

  What one should take care of, while serializing the object?
 Which elements of a class are ignored during serialization ?
 Can we declare static variables as transient ?
  Can we serialize static variables ?
  What is the use of Transient Keyword ?
  Difference between Serialization and Deserialization ?
  What is an Externalizable interface ?
  Difference between serializable and externalizable interface ?
  What are transient variables in java?


 Q2. Explain Inner Classes ?Core Java
Admin
info@buggybread.com
Ans. The accessibility (public, protected, etc.) of the inner class is defined by the outer class.

Just like top-level classes, an inner class can extend a class or can implement interfaces.

Similarly, an inner class can be extended by other classes, and an inner interface can be implemented or extended by other classes or interfaces.

An inner class can be declared final or abstract.Inner classes can have inner classes, but you will have a hard time reading or understanding such complex nesting of classes.

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

   Like      Discuss      Correct / Improve     java   oops   classes   inner classes     Computer Sciences Corporation (CSC) India      Basic        frequent

Try 2 Question(s) Test


Related Questions

  Why do we need Inner classes ? Cant we just work with outer classes wherever we implement Inner classes ?
 What is the difference between the following two code lines ?

1. new OuterClass().new InnerClass();

2. new OuterClass.InnerClass();
  What are the different types of inner classes ?
  Which access specifier can be used with Class ?
  Difference between nested and inner classes ?
  Which of the following cannot be marked static ?
  Explain use of nested or inner classes ?
  What is the benefit of inner / nested classes ?
  Explain Method Local Inner Classes ?


 Q3. With a Table employee having columns Id,Name,ManagerEmployeeId, Write a SQL to find the Manager with maximum number of employees ?Database2016-12-21 09:44:31

Ans. Select Name from EMPLOYEE where ID in (Select ManagerEmployeeId from EMPLOYEE
Group By ManagerEmployeeId
order by count(Id)
LIMIT 1)

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

   Like      Discuss      Correct / Improve     database  sql     Computer Sciences Corporation (CSC) India


Related Questions

  What is JDBC? Describe the steps needed to execute a SQL query using JDBC.
 What are Inner , Outer , Left and Right Joins in SQL ?
  Difference between Inner and Outer Join ?
  What is a Cursor ?
  What are temp tables ?
  Does SQL allow null values ? Can we use it within Where clause ?
  Write an SQL to find all records having all upper case alphanumeric characters in a field ?
  Write an SQL to find all records having all numeric characters in a field ?
  Do you know of any DB statement that can be used if we would like to insert multiple rows into a table ?
  What things you will look for if you get following exception while making DB call ?




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

1 person from are looking for questions for 'Computer sciences corporation (csc) india'. Connect with them to better prepare for your interview.
X Close this

Help Us Improve.
Please share your
interview experience.

Company Name:   


Questions Asked: