answersLogoWhite

0

Some naming conventions/standards for Java classes are:

a. A java file must be saved with the name of the public class in the file

b. A Java file can have only one public class but can have any number of other classes

c. The class names must be in Camel Case. Ex: AnExampleClassForWikiAnswers is how class names should be coded

d. Even methods must be in camel case with one difference that the first alphabet must be in lower case. Ex: getSampleDataFrWiki()

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

Does java script coding mean using it for Java programs only?

Java script coding is computer coding, many things require Java, and you need to have Java enabled to view these types of programs.


What is the java file in java?

The java file has the actual JAVA code present in it,..i.e the entire coding is done in that file.. you can view it using any text editor.. After compiling it you get a class file of every class present in the java file When you open a class file in a text editor, you won't see anything that makes sence. You won't find the original code that you wrote in the java file. That is because a class file is a product of the compilation of a java file.


Can insert javascript coding in servlet?

No. Javascript code can be present inside a JSP but not inside a servlet. A Servlet is a pure java class.


Full form of jndi in java?

JNDI stands for Java Naming and Directory Interface JNDI is an API specified in Java technology that provides naming and directory functionality to applications written in the Java programming language


What is widely accepted naming convention in java?

Case sensitivity is the widely accepted naming convention in JAVA. 1)The first letter of class name is always capital. 2)The method name always starts with small letter. 3)The name of the method is always followed by parenthesis i.e. (). 4)All the attributes & methods are enclosed within a class.


Extension file for Java?

Java source files have the .java extension, compiled Java class files have the .class extension.


What does the acronym JNDI stand for?

The acronym 'JNDI' stands for Java Naming and Directory Interface. What this refers to is the naming system for Java, a computer programming language.


Coding for railway reservation in java?

nfg


Is java front end?

Java can be used for both front end and back end coding.


What are the coding standards used in java to name a class?

To name a class, you simply need an access specifier, sometimes the word "static" or "abstract" (only if applicable), the word "class", and a class name. The body of the class is then contained in brackets. Example: public class Empty{} "public" is the access specifier (public is also default, and thus really unnecessary), and "Empty" is the class name. It is common to capitalize the first letter of the class name, as well as the first letter of each word if the name is made of several words concatenated together.


What is inheritance in core java?

Inheritance is the ability to derive and use other class's attribute and behavior. It results in the reduction of coding lines and the reuse of same codings in some other places. It is an important concept for java and makes to program easily...


Where can I go to learn how to code java on a mac?

Coding Java on a Mac should not be too different from coding on other operating systems. You can register in a Java course, install Java and some Java IDE, and start coding. The course itself will often give you instructions on how to install everything you need. One place where you can take such courses is at Udacity. The courses are paid, in theory, but you can access the course materials, including videos, for free.