answersLogoWhite

0

How do you instantiate self created class in java?

User Avatar

Anonymous

∙ 13y ago
Updated: 8/19/2019

The exact same way you instantiate a class from any of the various Java libraries: by using the 'new' keyword.

i.e

MyClass A = new MyClass();

this forces the MyClass definition to run its Constructor method, and return an instance of object of type MyClass.

User Avatar

Wiki User

∙ 13y ago
Copy

What else can I help you with?

Related Questions

How do you import a self created class in java?

It's the same as importing any other class: import [package name].[class name];


Does Java has any music or video downloads?

if you have a computer to look this up...... you can go and find out your self


When was The Commanding Self created?

The Commanding Self was created in 1994.


When was Self-Inflicted created?

Self-Inflicted was created in 1997.


When was Self-Constitution created?

Self-Constitution was created in 2009.


When was For Self-Examination created?

For Self-Examination was created in 1851.


When was The Outsourced Self created?

The Outsourced Self was created in 2012.


When was Self-Explanatory created?

Self-Explanatory was created in 2000.


When was Journey into Self created?

Journey into Self was created in 1968.


When was Song to Self created?

Song to Self was created in 2008.


When was At War with Self created?

At War with Self was created in 2004.


When was The Roots of the Self created?

The Roots of the Self was created in 1995.

Trending Questions
Names of those killed at Rorkes Drift? How many Skittles would fill how many holes the size of Lake Erie? Who sings the books of the bible song? Does number 4 have one line of symmetry? How do you play crazy frog on a piano? How does UV radiation cause skin cancer? Do technology such as computers or cell phone make people use their brains more? Does vulcan have siblings? How many cups of fluid are required to replace each pound of weight loss during an athletic event or workout? What is the ACT score requirement to get into Eastern Michigan University? What is swan lake about? Is bleeding normal during early pregnancy I have a dark brownish reddish blood with clots or tissue. Only when I wipe nothing on the pad. The cramps are bad. My period should start next week.? What time is 2pm mst in cst? Who made the game Minecraft? What metric unit do you use to measure the mass of a sack of potatoes? How long does it take to drive from seattle to san antonio? What is the fork oil capacity for a 2000 suzuki intruder 800? Is it true that when scalding milk it is necessary to bring milk to a full rolling boil? Why is the metric system of measurements better than the English system? What words have J as the second letter?

Resources

Leaderboard All Tags Unanswered

Top Categories

Algebra Chemistry Biology World History English Language Arts Psychology Computer Science Economics

Product

Community Guidelines Honor Code Flashcard Maker Study Guides Math Solver FAQ

Company

About Us Contact Us Terms of Service Privacy Policy Disclaimer Cookie Policy IP Issues
Answers Logo
Copyright ©2025 Answers.com | Lunias Media Inc. All Rights Reserved. The material on this site can not be reproduced, distributed, transmitted, cached or otherwise used, except with prior written permission of Answers.