<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Java Interview Questions &#187; Java Naming Conventions</title>
	<atom:link href="http://www.bestjavainterviewquestions.com/category/java-naming-conventions/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bestjavainterviewquestions.com</link>
	<description>Java Interview Questions &#124; Core Java Interview Questions &#124; Advanced Java Interview Questions &#124; EJB Interview Questions &#124; J2EE Interview Questions &#124; Hibernate Interview Questions</description>
	<lastBuildDate>Fri, 03 Feb 2012 10:23:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Naming Conventions in Java</title>
		<link>http://www.bestjavainterviewquestions.com/naming-conventions-in-java/</link>
		<comments>http://www.bestjavainterviewquestions.com/naming-conventions-in-java/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 16:18:06 +0000</pubDate>
		<dc:creator>Ramakrishna</dc:creator>
				<category><![CDATA[Java Naming Conventions]]></category>
		<category><![CDATA[naming conventions in java]]></category>

		<guid isPermaLink="false">http://www.bestjavainterviewquestions.com/?p=369</guid>
		<description><![CDATA[1) Package name in java are written in all small (lower) case letters Ex: java.awt. &#160;&#160;&#160;&#160;java.io. &#160;&#160;&#160;&#160;java.swing. 2) Each word of classnames and interface names start with a capital. Ex. String, DataInputStream, ActionListener. 3)Method names starts with a small letter if there is only the method name itself other wise leaving first each word the [...]]]></description>
			<content:encoded><![CDATA[<p><strong>1) </strong><font size=4>Package name in java are written in all small (lower) case letters</font></p>
<p><strong>Ex: </strong><font size=3><em>java.awt.<br />
&nbsp;&nbsp;&nbsp;&nbsp;java.io.<br />
&nbsp;&nbsp;&nbsp;&nbsp;java.swing.</em></font></p>
<p><b>2)</b><font size=4> Each word of classnames and interface names start with a capital.</font></p>
<p><b>Ex.</b><font size=3><em> String, DataInputStream, ActionListener.</em></font></p>
<p><b>3)</b><font size=4>Method names starts with a small letter if there is only the method name itself other wise leaving first each word the method start with a capital</font></p>
<p><b>Ex:</b><font size=3><em> println();<br />
&nbsp;&nbsp;&nbsp;readLine();<br />
&nbsp;&nbsp;&nbsp;getNumberInstance();</em></font></p>
<p><b>4)</b><font size=4> Variable names also follow the above rule</font></p>
<p><b>Ex:</b><font size=3><em> age, empName, employee_Net_Sal</em></font></p>
<p><b>5)</b><font size=4>Constants should be written using all capital letters.</font></p>
<p><b>Ex:</b><font size=3><em> MAX_VALUE.<br />
&nbsp;&nbsp;&nbsp;Font.BOLD</em></font><br />
<font size=4>A constant represents a first value its value cannot be changed</font></p>
<p><b>Ex:</b><font size=3><em> pie-3.14 it can&#8217;t be changed , It is constant</em></font></p>
<p>&#8211;><font size=4>  BOLD is the default (Constant) in Font class</font></p>
<p><b>Ex:</b><font size=3><em>       constant . constantname   we write like this in java</em></font></p>
<p><b>6)</b><font size=4> All Keywords should be written in all small letters</font></p>
<p><b>Ex:</b><font size=3><em>  public<br />
&nbsp;&nbsp;&nbsp;&nbsp;void<br />
&nbsp;&nbsp;&nbsp;&nbsp;int<em></font></p>
<h2  class="related_post_title">Random Posts</h2><ul class="related_post"><li>August 25, 2008 -- <a href="http://www.bestjavainterviewquestions.com/define-servletoutputstream/" title="Define ServletOutputStream">Define ServletOutputStream</a> (0)</li><li>December 17, 2008 -- <a href="http://www.bestjavainterviewquestions.com/define-static-keyword/" title="Define Static Keyword">Define Static Keyword</a> (0)</li><li>April 4, 2009 -- <a href="http://www.bestjavainterviewquestions.com/j2ee-interview-questions-2/" title="J2EE Interview Questions">J2EE Interview Questions</a> (0)</li><li>October 16, 2008 -- <a href="http://www.bestjavainterviewquestions.com/define-jsp/" title="Define JSP">Define JSP</a> (2)</li><li>June 30, 2008 -- <a href="http://www.bestjavainterviewquestions.com/java-exception-handling-questions/" title="Java Exception Handling Questions">Java Exception Handling Questions</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.bestjavainterviewquestions.com/naming-conventions-in-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

