answersLogoWhite

0

Why goto keyword not used in java?

User Avatar

Anonymous

12y ago
Updated: 8/19/2019

Goto leads to morememory waste age and multiple branching occurs so memory is wasted

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Does java have goto?

Because goto statements usually result in hard to read code. This was a feature of C++ which the creators of Java decided they didn't want to allow.


Is check a keyword in java?

No, 'check' is not a keyword in java language.


Is float is a keyword in java?

yes, float is keyword and data type in java


How java use extern key word which is used in C plus plus?

No extern keyword in Java.


What does the verify keyword do in Java?

"verify" is not a Java keyword. I believe the link, in related links, has the complete list of Java keywords.


What is foreign keyword in java?

There is no "foreign" keyword in Java, however, there is a native keyword that declares native methods in a native language, such as C or C++.For full list of keywords in Java see related question.


What is literal in java programming?

Literal in java are L, F, null, true, false These act as keyword(have special meaning in java) but these does'nt comes under the category of Java Keyword.


What is java's keyword for the integer data type?

"int" is the keyword for integer


Does php provide goto keyword in latest version?

yes


What is the use of try in java?

The try keyword is used in Java to handle problematic situations that are commonly known as "Exceptions" The try keyword is used in conjunction with the catch keyword. If any exception is thrown by code inside the try block, they will be caught and handled by the catch block. Ex: try { ... ... } catch (Exception e){ ... }


How do you learn core java?

Goto a institute near by which teaches java and join in a batch......


What keyword are used in java for exception handling?

The important keywords used in Java with respect to Exception Handling are: a. Throw - The "throw" keyword is used to throw exceptions from inside a method b. Throws - The "throws" keyword is used to signify the fact that the code contents within the current method may be throwing an exception and the calling method must handle them appropriately