Skip to main content



      Home
Home » Newcomers » Newcomers » When the first letter of a Class is not captal, but not warning(class)
When the first letter of a Class is not captal, but not warning [message #1138828] Tue, 15 October 2013 06:59 Go to next message
Eclipse UserFriend
I try to write a class name in a way of lowercase at first. but the eclipse does not warn.
why?
as it is not a standard written.
Re: When the first letter of a Class is not captal, but not warning [message #1139384 is a reply to message #1138828] Tue, 15 October 2013 14:46 Go to previous messageGo to next message
Eclipse UserFriend
Where are you writing it?
Re: When the first letter of a Class is not captal, but not warning [message #1139991 is a reply to message #1139384] Wed, 16 October 2013 00:31 Go to previous messageGo to next message
Eclipse UserFriend
the first line of class declare,
public class myFirstLearn
or
public class MyFirstLearn
are the same
no warning at all.
Re: When the first letter of a Class is not captal, but not warning [message #1140708 is a reply to message #1139991] Wed, 16 October 2013 10:48 Go to previous messageGo to next message
Eclipse UserFriend
On 10/15/2013 10:31 PM, Zhg Mising name wrote:
> the first line of class declare,
> public class myFirstLearn
> or
> public class MyFirstLearn
> are the same
> no warning at all.

Eclipse isn't the thought police: it's rare that it would force you to
do something right that's an arbitrary convention rather than a
violation of language syntax. If you want to tailor what Eclipse has to
say about your Java code, see Preferences -> Java -> Compiler ->
Errors/Warnings.
Re: When the first letter of a Class is not captal, but not warning [message #1141064 is a reply to message #1140708] Wed, 16 October 2013 16:18 Go to previous messageGo to next message
Eclipse UserFriend
It will give you that feedback if you create your class using the New Java Class wizard.
Re: When the first letter of a Class is not captal, but not warning [message #1141414 is a reply to message #1141064] Wed, 16 October 2013 22:00 Go to previous message
Eclipse UserFriend
oh, thanks.
Previous Topic:Where is reflect in the eclipse?
Next Topic:Eclipse (Kepler version) ESRI & Arcpy
Goto Forum:
  


Current Time: Sat Jul 05 00:04:28 EDT 2025

Powered by FUDForum. Page generated in 0.08210 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top