answersLogoWhite

0

You can declare a class as "final".

User Avatar

Wiki User

∙ 13y ago

What else can I help you with?

Related Questions

How do you prevent class extending in java?

Declare the class as final. final class A{ ... }


How an exception subclass is created in java explain?

We can create a exception sub class by extending Exception class available in java


What is Inheritance in Java language?

A Scenario where one class is inheriting/extending the behavior of another class


What do you mean by extending classes in java?

That's the name used in Java for inheritance. It means that one class has all the behavior of another class; additional functionality can be added to the derived class.


What are the two ways of spawning a thread in Java?

You can create a Thread in Java by using two ways. 1. Extending the Thread class public class Test extends Thread { ..... } 2. Implementing the Runnable Interface public class Test implements Runnable { ... }


What modifier do you use to prevent that class from having any subclasses?

In Java, you use the final modifier to prevent a class from having any subclasses.


Extension file for Java?

Java source files have the .java extension, compiled Java class files have the .class extension.


What is inline thread in java?

You can start a thread "inline" without implementing Runnable or extending Thread class( new Thread() { public void run(){// do something} } ).start();


The actions in a java class are called?

The actions in a java class are called methods.


Why you start java program by class?

without class non of the folder can run so the java program should start in class we can use the class without object in java


When java uses compiler?

What i know is java we will use compiler when it want to get class file(file with .class extension) from java file(file with .java extension).


How do you call main class with in main class in java?

We can't call a class. We always call a method in java.

Trending Questions
What does Enhanced reliability security clearance Credit check means you got this job and they want to do this check and they will sent even your resume to the government agency to check your workhist? Is it illegal to not let your kids celebrate or do anything that involves Halloween if they want to? What is ratio of 63 to 45 in simplest form? What is the bending equation? Where can one get tips on how to avoid bankruptcy? In what way does sentence emphasis and variety contribute to good writing? What causes the crackling sound we hear as wear a cardigan? How many 6 foot tables fit into a 2000 sq ft room? What is a person aged 70 years called? Does the mother get sole custody of children if never married to the father if they split up even though he is on one of the six kids birth certificate by Michigan law? Where did kiara bellen from Americas next top model go to high school? Which South Asian country has the best access to communication devices? Do baby swans learn how to swim? What is the valve adjustment for 5 hp Briggs engine model? IF you have a computer on a wireless network can you hook up your Xbox 360 so that the Xbox can get online with out hooking up to a router? Who Hit the First home run at PNC Park? What channel is NBC network on dish network in Texas? Why would you create a tenancy by the entirety? What are the release dates for SpongeBob SquarePants - 1999 Fear of a Krabby Patty Shell of a Man 4-1? Is it Better to go in fall for MS in Embedded sys. Elex.in US than in Spring?