answersLogoWhite

0

what is the use of new keyword in awt programming

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Can you provide an example of how to use the keyword "headstring" in a programming function?

In programming, the keyword "headstring" can be used to extract a specific number of characters from the beginning of a string. For example, in a function that takes a string as input and uses "headstring" to extract the first 5 characters, the code might look like this: python def extractheadstring(inputstring): head inputstring:5 return head In this function, the "headstring" keyword is used to extract the first 5 characters from the input string and return them as a new string.


What keyword is used to invoke user-defined exceptions?

throw is the keyword used to invoke the exception.throw new NoBalanceException("No balance please");


What is object in java programming?

In java object is an instance of a class. Objects are created using the new keyword. When you use the new keyword along with a class name, an object of that class would get created. Ex: Ferrari obj = new Ferrari(); Here a new object of Ferrari gets created. A constructor of the class Ferrari would get invoked during the object creation.


What is a new keyword in java methods?

new is a keyword to create a instance of object any class.


When will the keyword be implemented in the new software update?

The keyword will be implemented in the new software update next month.


How is the keyword "innovation" being utilized in the current project?

The keyword "innovation" is being used in the current project to encourage new ideas and creative solutions to improve processes or products.


What is purpose of keyword new?

The keyword new is used to instantiate or create Java class objects. ex: String empName = new String("Rocky"); The above statement creates a new String object of name empName and value as Rocky


What does the new function do?

The new keyword creates a new Object.


What is new keyword in c?

enum, void and const are relatively new keywords in Cnew, on the other hand, isn't a keyword in C


What is the Difference between override and new keyword in C?

An override is the specialisation of a virtual function. The new keyword instantiates an instance of an object in dynamic memory and returns a reference to that object (or null if the object could be instantiated). Both are used in C++, but not C.


Do robot give birth?

No, however their programming can be used to 'give birth' to new models of robots.


What key word is use as identifire in c programming?

A keyword identifier is one whose meaning has already been declared to the C compiler and we can't use it as variable,because if we want to do so we are trying to establish a new meaning to the keywords which is not permitted.