answersLogoWhite

0


Best Answer

In Java toUppercase() is a method of the class String: https://docs.oracle.com/javase/7/docs/api/java/lang/String.html#toUpperCase()

User Avatar

Wiki User

9y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

7y ago

There is not strict rule. It is only a convention. Most Java programmers use camel case for methods and variables. All uppercase are usually reserved for constants.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Attributes and methods of uppercase in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the case for Java keywords?

uppercase


Does Java keywords are written in lowercase as well as uppercase?

it depends mostly it is written in lower case but few start with an uppercase as Java is case sensitive


Java program to convert lowercase to uppercase?

You can use the toUpperCase() method on a String to convert any String to all uppercase.


Is it possible to override overloaded methods why?

Yes. Overloaded methods are also Java methods and all Java methods can be overridden.


Explain three different methods in java?

There are three different methods /functions in java are there : 1)computational methods.2)manipulative methods.3)procedural methods.


How do you access java attributes class?

through the imporrt


Why is it a bad idea to name your class string?

If you are talking about Java, that will cause confusion with the built-in "String" class. Sure, Java will distinguish "String" (with an uppercase "S") from "string" (which has no uppercase letters), but it can be confusing for the programmer. In various other programming languages, the situation may be similar.


What is exteranalizable in java?

Externalizable interface is a subclass of Serializable. Java provides Externalizable interface so as to give you more control over what is being serialized and what is not. Using this interface, you can Serialize only the fields of the class you want serialize and ignore the rest. This interface defines 2 methods: readExternal() and writeExternal() and you have to implement these methods in the class that will be serialized. In these methods you'll have to write code that reads/writes only the values of the attributes you are interested in. Programs that perform serialization and deserialization have to write and read these attributes in the same sequence


What is a java object?

A java object is a collection of methods and properties defined in the Java programming language.


What are the constructor method of integer class?

If you mean Java, you can get the documentation for the Integer class (with an uppercase "I") here: http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Integer.html


What commands are used to prints text in java?

System.out.println("text"); or System.out.print("text"); Please note that Java is case sensitive, meaning you must match uppercase and lowercase exactly.


The actions in a java class are called?

The actions in a java class are called methods.