PDA

View Full Version : String not highlighted



CaptainMark
February 27th, 2011, 05:46 PM
Hi, Im using Geany to write java, and im relatively new to this i just a couple of small questions.
Why is the String identifier capitalised when int or float is not?
and i expect the reasons are linked to the next question
Why is String not highlighted by Geany when I declare variables like the other two above?

Thanks if you spare the time to indulge me
Mark

Vaphell
February 27th, 2011, 05:54 PM
most probably because string is a class and int and float are not.

CaptainMark
February 27th, 2011, 06:01 PM
but when i declare an object from a class then it is highlighted, whether its a pre made class or one ive created