Can you develop an operating System using Java?
yes,using frames. 18. What is the strength of the operating system? The strength of the operating system lies in its capability for handling different software, hardware Configuration used for that OS. For example a new version of windows with low ram and CPU speed etc.. The operating systems registry keys and dynamic linked list (DLL). More over, kernel 32 is the heart of windows and shell scripting is the open source for Linux etc.. And the capability of self avoiding virus act from outsources. The strength of the operating system decreases if the above points are disturbed. This is provided by krishna(B.L.S.K.P/svits) Note that if you try to write an operating system in Java, you will need hardware which supports Java natively. Java does not compile down into machine-readable bytecode like most of the languages used to program operating systems. Java needs to be run on the JVM, and so the hardware must either contain a custom JVM implementation, or must contain some intermediate layer between the hardware and the OS for the JVM to live in.
Hardware and software requirements for running java projects?
The minimum requirements for running a java project is very variable depending on the size of the project. In most cases, simply a working computer will suffice.
What is Variable Shadowing in Java?
In Java, there are three kinds of variables: local variables, instance variables, and class variables. Variables have their scopes. Different kinds of variables have different scopes. A variable is shadowed if there is another variable with the same name that is closer in scope. In other words, referring to the variable by name will use the one closest in scope, the one in the outer scope is shadowed.
A Local Variable Shadows An Instance Variable
Inside a class method, when a local variable have the same name as one of the instance variable, the local variable shadows the instance variable inside the method block.
Is it easy to do a rent-to-own database?
It really does depend on your level of computer programming knowledge. If you have none then yes, it will prove to be rather cumbersome if you tried to create one. There are 2 most commonly used methods:-
1. Database and Front-End application
It's important to realise that most computer database applications are comprised of multiple applications. What this means is that a rent-to-own database would comprise of a database that is held inside SQL Server or Oracle and then a front-end application that is used to view and edit the data in the database. In order to use this technique, you really do need programming skills.
2. An Alternative Approach
A second way of doing this is to use a tool like Microsoft Access to create the database. This allows you to create forms for your database rather easily and by reading the help file, a person could learn what is required to put their database together.
What are the things not inherited from parent class in Java?
Private members are not inherited from the parent class.
Two of the components of a method declaration comprise the method signature-the method's name and the parameter types.The signature of a method is the combination of the method's name along with the number and types of the parameters (and their order). More generally, method declarations have six components, in order: 1. Modifiers-such as public, private, and others you will learn about later. 2. The return type-the data type of the value returned by the method, or void if the method does not return a value. 3. The method name-the rules for field names apply to method names as well, but the convention is a little different. 4. The parameter list in parenthesis-a comma-delimited list of input parameters, preceded by their data types, enclosed by parentheses, (). If there are no parameters, you must use empty parentheses. 5. An exception list-to be discussed later. 6. The method body, enclosed between braces-the method's code, including the declaration of local variables, goes here.
How do you generate palindrome number between the given range?
The generation of palindromic numbers within a given range is best done with a computer program. Space it limited so an example of program code cannot be shown here, but the Codecast website gives full guidance.
Java became widely popular because of the light and compact applications it can produce.
Memory occupied by object in Java?
An object in Java may contain a small amount or a large amount of memory - it depends almost entirely on what you store in it. For example, a String is an object. Now, you can have a String that contains 10 characters - that object will contain 20 bytes (2 bytes per character - characters are stored as Unicode), plus a small amount of overhead. The amount of overhead may vary, depending on the specific Java implementation. Another String, which contains 100 million characters, will be stored using 200 million bytes (plus a small amount of overhead).
I believe the JVM may also round the space used up by an object up - for example, to the closest power of two. But once again, this is implementation-specific.
Where does bytecode come from java?
It is created by the Java compiler, based on the source code (the .java file).
Why do we support Java legacy code?
People keep support for legacy code because it is a pain in the neck to rewrite all that code. Multiply that by several hundred thousand developers, and you've got your answer.
An applet is a software component that runs in the context of another program, for example a web browser. An applet enables my safari browser to translate certain files (images) at a windows only based website. Without the java applet my computer could not read them.
In order for a computer to understand a program must be converted into machine language by an?
compiler
What is a constant in real data type?
There are many constants, starting from number of seconds in minute, hour and so on, number of days in leap year and not leap, well known from math PI = 3.1415..., all physical and chemical constants and so on.
What is the advantage of using a sentinel?
Primarily it allows implementation to be shifted from the list to the nodes themselves. Generally this is more efficient because the list's sole responsibility is the sentinel (which is guaranteed to exist so long as the list is in scope) to which it delegates all responsibility with regards the actual nodes. A tail sentinel improves efficiency further by ensuring the head sentinel node never points to NULL.
Head and tail sentinels are most useful in sorted lists. When data is added to the list, the list immediately passes the data to the head node. When the head node receives data it immediately passes it to the next node, and sets its next node to the return value. The data passes from one node to the next until it reaches a node that contains larger data, or it reaches the tail sentinel. Either way, a new node is created such that it points to the current node, and returns the new node to the calling node which updates its next node to point to the new node. All previous nodes remain unchanged by returning themselves to the calling nodes, all the way back to the head.
This is more efficient than using a non-sentinel list. With this implementation, the list itself must traverse the nodes (if any) to locate the insertion point and then update the links between the nodes. This is because if there are no nodes, the list must handle the insertion itself. Therefore it must handle all insertions, nodes or not. in other words, sentinel nodes shift the responsibility for insertion to the nodes themselves. Since traversal is required anyway, it makes sense to reduce the level of indirection and let the nodes sort themselves out, rather than forcing them into order by a class that has no inherent knowledge of the data it is trying to insert. Data sorting is the responsibility of the nodes that contain it, not the list itself.
What's the difference between the Class 365 and Class 465 466?
The difference between the Class 365 and Class 465, 466 is basically the cost.
What error occurs when a real value is attempted to be assigned to an integer variable?
real value needed
A compile time error i.e ..
Error: possible loss of precision: double, required: int
None, it will converted automagically.
What are differences and similarities between a class reptilia and a clade reptilia?
clade and class are different because one says clade and the other says class. the same thing they have in common is that they both have reptilia at the end.
Write a program to print first 100 alternative prime numbers?
This would require some computer knowledge. It can make it easier to find out the prime numbers without figuring it out in your head.
Fumigation methods for neonatral incubator?
Fumigation is usually done with formaldehyde gas using 40 ml of 40 per cent commercial formalin and 20 g of potassium permanganate for each 2á8 m3 of space inside the incubator or hatcher. Potassium permanganate may be placed in a glass or earthenware container and formalin poured over it. Fumigation should preferably be done-at the end of the working day and then the rooms closed.
How do you delete the given string in java programming?
You usually do not need to delete a String, since when the program no longer refers to it, the garbage collector will clean it up.