Java - Interview Questions and Answers for 'Markup language' | Search Java Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com
Share

Search Java Interview Questions


 2098 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 'Markup language' - 10 question(s) found - Order By Newest

 Q1. What are the benefits of JSON over XML ?Json
Anonymous
Ans. Lighter and faster than XML as on-the-wire data format

Object Representation - Information is presented in object notations and hence better understandable.

Easy to parse and conversion to objects for information consumption.

Support multiple data types - JSON supports string, number, array, boolean whereas XML data are all string.

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

   Like      Discuss      Correct / Improve     json   markup language     QualiTest      intermediate        frequent

Try 1 Question(s) Test


  Q2. Difference between SAX and DOM Parser ?Xml
Admin
info@buggybread.com
Ans. A DOM (Document Object Model) parser creates a tree structure in memory from an input document whereas A SAX (Simple API for XML) parser does not create any internal structure.

A SAX parser serves the client application always only with pieces of the document at any given time whereas A DOM parser always serves the client application with the entire document no matter how much is actually needed by the client.

A SAX parser, however, is much more space efficient in case of a big input document whereas DOM parser is rich in functionality.

Use a DOM Parser if you need to refer to different document areas before giving back the information. Use SAX is you just need unrelated nuclear information from different areas.

Xerces, Crimson are SAX Parsers whereas XercesDOM, SunDOM, OracleDOM are DOM parsers.

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

   Like      Discuss      Correct / Improve     java   xml   parsers   sax   dom parser   difference   architecture   technical lead   technical architect  markup language      First Advantage  Wellington Management  Chase Reference Data Distribution  System Soft Technologies  TD Bank Canada  JPMorgan Chase  Tata Consultancy (TCS)  PayPal  Citibank  Free Doctor Helpline  Wells Fargo  Huawei Technologies        frequent

Try 1 Question(s) Test


 Q3. What is JSON ?Json
Anonymous
Ans. JSON is "JavaScript Object Notation", primarily used for client-server or server-server communication. Its a much lighter and readable alternative to XML. JSON is language independent and is easily parse-able in all programming languages.

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

   Like      Discuss      Correct / Improve     json   markup language   client server communication      basic        frequent

Try 2 Question(s) Test


 Q4. Which function is used to convert a JSON text into an object ?Json
Anonymous
Ans. eval

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

   Like      Discuss      Correct / Improve     json   markup language


 Q5. Which data types are supported by JSON ?Json
Anonymous
Ans. Number
String
Boolean
Array
Object
null

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

   Like      Discuss      Correct / Improve     json   markup language   client server communication


 Q6. What is XML ?Xml
Admin
info@buggybread.com
Ans. XML or eXtensible Markup Language is a markup languages for describing data and its metadata.

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

   Like      Discuss      Correct / Improve     xml   markup language      basic        frequent


 Q7. What is DTD ?Xml
Admin
info@buggybread.com
Ans. DTD or Document Type Definition is a standard agreed upon way of communication between two parties. Your application can use a standard DTD to verify that data that you receive
from the outside world is valid and can be parsed by your parser.

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

   Like      Discuss      Correct / Improve     xml   markup language   dtd   document type definition   architecture


 Q8. What is XSD ?Xml
Admin
info@buggybread.com
Ans. XSD or Xml Schema Definition is an extension of DTD. XSD is more powerful and extensible than DTD

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

   Like      Discuss      Correct / Improve     java   xml   markup language   xsd   dtd   architecture


 Q9. What is JAXB ?Xml
Admin
info@buggybread.com
Ans. Stands for Java API for XML Binding. This standard defines a mechanism for writing out Java objects as XML and for creating Java objects from XML structures.

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

   Like      Discuss      Correct / Improve     java   xml   markup language   java api for xml binding   jaxb   abbreviation   technologies     Xchanging



Do you think these are the Best Java Frameworks ?

OpenXavaSPRING MVCApache StripesCheck everything
that is Best in Java

Click Here



 Q10. What are protocol buffers ?Markup Language2017-05-04 15:26:08

Ans. Protocol buffers are language-neutral, platform-neutral, mechanism for serializing structured data. It is developed by google.

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

   Like      Discuss      Correct / Improve     protocol buffer




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: