Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the minimum and maximum length of an identifier?

Answers were Sorted based on User's Feedback



What is the minimum and maximum length of an identifier?..

Answer / manu

There is no limit to the length of an identifier in Java.
It will start with letter or _ or $

Is This Answer Correct ?    18 Yes 4 No

What is the minimum and maximum length of an identifier?..

Answer / jai

From a language specification perspective, there is no
limit. From a class file perspective, there is a 64K byte
limit to names. For ASCII identifiers, that would be 65535.
For identifiers beyond the ASCII range, that could be
considerably less, as they are stored in Unicode Transfer
Format (UTF), taking up from 2-3 bytes / character.

Is This Answer Correct ?    12 Yes 1 No

What is the minimum and maximum length of an identifier?..

Answer / manu

There is no limit to the length of an identifier in Java.

Is This Answer Correct ?    9 Yes 4 No

What is the minimum and maximum length of an identifier?..

Answer / guest

1-32

Is This Answer Correct ?    8 Yes 6 No

What is the minimum and maximum length of an identifier?..

Answer / prayothana

There is no length

Is This Answer Correct ?    6 Yes 5 No

What is the minimum and maximum length of an identifier?..

Answer / sohan

Some compilers take 8 bit atmost.But max length is 31.(in
case of C)

Is This Answer Correct ?    3 Yes 9 No

Post New Answer

More Core Java Interview Questions

Can we have two main methods in a java class?

0 Answers  


Is there any way to find whether software installed in the system is registered by just providing the .exe file? I have tried the following code but its just displaying the directory structure in the registry. Here the code : package com.msi.intaller; import java.util.Iterator; import ca.beq.util.win32.registry.RegistryKey; import ca.beq.util.win32.registry.RootKey; public class RegistryFinder { public static void main(String... args) throws Exception { RegistryKey.initialize(RegistryFinder.class.getResource("jRe gistryKey.dll").getFile()); RegistryKey key = new RegistryKey(RootKey.HKLM, "Software\\ODBC"); for (Iterator<RegistryKey> subkeys = key.subkeys(); subkeys.hasNext();) { RegistryKey subkey = subkeys.next(); System.out.println(subkey.getName()); // You need to check here if there's anything which matches "Mozilla FireFox". } } }

0 Answers   Google,


State some situations where exceptions may arise in java?

0 Answers  


What services that container provides?

2 Answers  


Can you make a constructor final?

0 Answers  


What is a local class in java?

0 Answers  


What are different access specifiers in java?

0 Answers  


What is the difference between jsp and servlet?

6 Answers   Symphony,


What is variable and rules of variable?

0 Answers  


what is static import in java? Explain

0 Answers  


Why are pointers not secure?

0 Answers  


Can an object subclass another object?

0 Answers  


Categories