answersLogoWhite

0

📱

Java Programming

The Java programming language was released in 1995 as a core component of the Java platform of Sun Microsystems. It is a general-purpose, class-based, object-oriented language that is widely used in application software and web applications.

5,203 Questions

How class file is created in java?

A class file is a compiled .java file and cannot be executed without jdk or java.

They are often executed with .bat files in windows for convenience

What is a leavening methods?

== == There are actually several methods of leavening that will cause a baked product to rise. They include organic,chemical,mechanical,and physical as the most commonly employed methods to create 'lift' in baked goods. An organic leavener is typically an active yeast or a sour starter that is normally used in the production of breads and rolls. Chemical leaveners such as baking powder and baking soda are used in cakes,quick breads,muffins,and biscuits. Mechanical leavening refers to, as an example, the method of creaming butter/shortening, sugar and eggs in the mixing of certain types of cake batter. Physical leavening is the method used in making puff pastry where the dough is rolled and folded repeatedly, enveloping many layers of hydrogenated fat or butter which when heated in the oven release steam causing the dough to rise or 'puff'. Sometimes these methods are used in combination. For example , a cake batter often has a chemical leavener as well as using the mechanical or creaming method to produce lift. Croissants and Danish pastry combine the organic leavener of yeast with the physical method of repeated folding and rolling of the dough to produce light and flaky pastries. == == Leavening are the items put into the mix that make the dough rise, without leavening bread would be tough, more like a brick.

What steps are necessary to build an algorithms?

the number of steps of an algorithm will be countable and finite.

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.

Can an applet be run even without a HTML file?

Yes. We have an applet viewer that can help us view applets without a web browser and a HTML file

When you implement an interface method it should be declared as public in java?

This is not necessarily true. The only rules for this are that interface methods may not be private. They may be public, protected, or have the default (blank) access modifier.

The sociological perspective that defines classes in terms of their structural relationship to other classes and their relationship to the economic system is what?

The sociological perspective that defines classes in terms of their structural relationship to other classes and their relationship to the economic system is the ______.

Who invoke main function in java?

The Java Runtime Environment invokes main methods.

What is the cardinality of a data type eg integer?

Cardinality is the total number of unique occurances of an entity (e.g. person, organization, or transaction) that can be included in a relationship. A URI/URL, e-mail, phone number should be unique, providing a high cardinality. This means that each of the entity values would be represented at least once in a relationship. A lower cardinality value would be something like a bit, or boolean value. This value will only occur twice before becoming redundant in a relationship. So a data type value of an integer could be either low or high, depending on what the data is used for. If the values are only 0-6, then there are only 6 occurances of the data, if the field is open to the full range of data then it would be of extremely high cardinality.

What type of java used in java enable phone?

J2ME - Java 2 Micro Edition is generally used in java enabled phones. Simple Java Applications use JVM(Java Virtual Machine) for generating bytecode where as Java Mobile Applications use KVM(KiloByte Virtual Machine) for the same purpose. Reason for this is KVM occupies small amount of memory and hence can be embedded inside a java enabled phone easily.

Data Structures and Algorithms in Java?

Data structures has been implemented in Java language already, you just need to import it and start using it. Data Structures are located in Java.util packages.

Array
Arraylist
Vector
HashMap
HashTable
LinkedList
Stack
Queue
Collection this are the few I know.


Thanks,
Anandkumar.R

Can an exception be re-thrown?

Yes. An exception can be caught and re-thrown. It is perfectly legal.

What should I do for my arm throbbing from typing?

The arm throbbing from typing for long is a reaction of the muscles and nerves which might be strained. This will ideally resolve itself in a short while.

Are keywords also known as metadata?

No. Keywords are not called or known as Metadata in Java

How many bits are required to represent double data type in memory?

It differs slightly depending on what platform your computer uses or what language you are using.

for the Java programming language, which is platform independent, it is 64-bits.

What is the hasnext method?

Iterator.hasNext() is one of the two main methods of the Iterator interface. It can be used on an Iterator to find out if there are any remaining objects to iterate over.

For example, it would be used like this:

Iterator iter = ...;

while (iter.hasNext()) {

// do something with iter.next()...

}

How much does elevator constructor earn?

Elevator constructors start on 750 dollars a week and can earn well over 100 000