This week's book giveaway is in the Java 9 forum.
We're giving away four copies of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications and have Sander Mak & Paul Bakker on-line!
See this thread for details.
Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SYSTEM and Public  RSS feed

 
ZEESHAN AZIZ
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In a mock test, given answer to following question is a and b. I will be obliged if any one can explain this answer to me.

2. Which of the following code is valid?
a) <!DOCTYPE SYSTEM SYSTEM "test.dtd">
<SYSTEM></SYSTEM>
b) <!DOCTYPE PUBLIC SYSTEM "test.dtd">
<PUBLIC></PUBLIC>
c) <!DOCTYPE PUBLIC PUBLIC "test.dtd">
<PUBLIC></PUBLIC>
d) <!DOCTYPE SYSTEM PUBLIC "test.dtd">
<PUBLIC></PUBLIC>
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!