Tag: programming languages

Questions Related to programming languages

  1. javac FirstApp

  2. javac FirstApp.java

  3. java FirstApp

  4. java FirstApp.class


Correct Option: B
  1. Create a Salary object

  2. Declare an Employee class

  3. Declare an instance of the Employee class called Promotion

  4. Declare a promotion method that changes the value of the position variable

  5. Define variables for position and salary


Correct Option: B,D,E
  1. Tags in XML cannot contain spaces in them.

  2. Tag Names can start with a character (A-Z) or an _(Underscore)

  3. Tag Names starting with Underscore cannot have another Underscore in them.

  4. Tag Names cannot start with an Underscore


Correct Option: A,B,C
  1. All Valid SGML Documents are Valid XML Documents

  2. XML Can Contain HTML tags

  3. XML is less Complex than SGML

  4. XML can be extended using Optional SGML Extras


Correct Option: C,D
  1. A way of doing transformations in XML

  2. Used to change the layout of the XML

  3. Used to induce HTMl effects in XML

  4. None of the above


Correct Option: A,B
  1. XML

  2. SGML

  3. HTTP

  4. DCF GML


Correct Option: A,B,C,D
  1. Create a template of the XML hierachy

  2. Validate the XML

  3. Ensures Well Formed XML’s creation

  4. Format the XML


Correct Option: A,B,C
  1. The ones which replacecs DTD’s

  2. Helps in creating wellformed XML

  3. Enforces Data Types in XML

  4. Can be inline or external


Correct Option: B,C,D