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

Did java get fixed?

Java is constantly being updated, but is still considered broken by major authorities in security. Check back later.

What kinds of jobs use JAVA?

graphical engineers and game designers

Would you select c plus plus or java in 11 class?

Its really a matter of opinion. I prefer C++ to Java but that doesn't mean C++ is always better than Java. C++ can be rather hard to learn if you are new to it but it is a very rewarding language. On the other hand, Java is very portable and is used in just about all Android phones (I don't know enough to say whether or not all of them use java.) Anyway, if it is system development or game development you are going for, C++ is a great choice, providing low level access to the computer and providing fast speed if the code is written well. Java is a good portable language that is compiled to computer code using the Java Virtual Machine which compiles it to computer readable code and then runs which makes it portable. In the case of Java, mobile phone apps, web apps and games (most well known being Minecraft) are available to you. It all depends on what you want, hopefully with the information I have give you you can make and informed decision.

How do you write a C plus plus program that creates and manipulates a dynamic one dimensional array storing a string entered by user without using any C plus plus Standard functions?

In short you cannot, unless you provide a suitable alternative to the standard library yourself (in other words, reinvent the wheel). At the very least you will need to include the common runtime definitions (crtdefs.h) just to create a bare-bones program that does absolutely nothing, but you'll need to implement all the standard IO functions yourself. Even third-party replacements make extensive use of the standard library, so you're completely on your own here. The standard library exists so that you can draw upon a rich set of primitive but highly optimised, tried and tested functions which act as building blocks upon which you can create your own programs.

Can run a java script code in a stand alone computer?

If you can get a browser onto the machine, you can run the JavaScript. You can also use a webserver to try to run server-side script, but this is a little iffy. It's more of a toy than a tool.

You can also try things like Google's jslibs or Mozilla's SpiderMonkey, which allow you to run JS programs without a browser.

In all cases outside a browser, your mileage may vary.

How do you write a java program to find the transpose of the matrix for the given elements?

You basically write a nested for loop (one for within another one), to copy the elements of the matrix to a new matrix.

How do you know if your java is corrupted?

You may notice that some applications that run on java not working. If you suspect that your java is corrupted, re-install it.

What are apex classes?

Apex is a strongly typed, object-oriented programming language. A class is a template or blueprint from which objects are created. An Apex Class is a library of attributes and methods and serves as a blueprint to create Apex objects.

What is the difference between heavy weight and lightweight programing language in java script?

Applet is a heavy component,Applet uses AWT Layouts..like flow layout,Swing is a light weight component, Using UI Manager, swing have look and feel according

Does the iPod use Java programming?

The iPod uses Objective-C as its programming language. You may install an additional app that can run Java on your iPod device, however.

Is 'A database uses characteristics such as field size and data type to define each field' false?

No it is not false. Database fields do have field sizes and data types.

No it is not false. Database fields do have field sizes and data types.

No it is not false. Database fields do have field sizes and data types.

No it is not false. Database fields do have field sizes and data types.

No it is not false. Database fields do have field sizes and data types.

No it is not false. Database fields do have field sizes and data types.

No it is not false. Database fields do have field sizes and data types.

No it is not false. Database fields do have field sizes and data types.

No it is not false. Database fields do have field sizes and data types.

No it is not false. Database fields do have field sizes and data types.

No it is not false. Database fields do have field sizes and data types.

Why does a character in Java take twice as much space to store as a character in C?

Different languages use different size types for different reasons. In this case, the difference is between ASCII and Unicode. Java characters use 2-bytes to store a Unicode character so as to allow a wider variety of characters in strings, whereas C, at least by default, only uses 1 byte to store a character.

How can you write multiple inheritance program in java?

Java does not support direct multiple inheritance. You can implement partial multiple inheritance using interfaces.

ex:

public class ExMultInherit implements interface1, interface2, interface 3 {

...

....

......

}

What are separator in java?

Separators help define the structure of a program. The separators used in HelloWorld are parentheses, ( ), braces, { }, the period, ., and the semicolon, ;. The table lists the six Java separators (nine if you count opening and closing separators as two).

What is the Model View Controller Design Pattern?

The Model-View-Controller architecture compartmentalizes the data and business logic (model) from the presentation (view) from the user action interpreter (controller). This pattern is the hardest on the exam. The idea is closely related to the recent move from two-tier to three-tier architectures. The 3 tiers in a MVC Architecture of a J2EE Application are:

1. Model - Usually JavaBeans

2. View - Usually JSPs

3. Controller - Usually Servlets

This pattern is a clear functional separation of roles. It is a formalization of the data-business-presentation movement that dominated three-tier architectures over the last decade.

This pattern is very abstract. It is not simply a front end to a datasource connection.

This would be like an automobile. The speed of a car is affected by the accelerator pedal (Controller), the speed is shown by the speedometer (View), and the speed is determined by the engine power (Model).

How can you fix uncaught exception java lang Null Pointer Exception on blackberry 8300?

The best way to fix uncaught exception java lang Null Pointer Exception on a Blackberry 8300 is by doing a restart. Shut the phone off and remove the battery for a minute. Replace the battery and turn the phone back on.

Can you have an empty Integer value in java?

No. It has to be either NULL (Not yet Instantiated) or 0. Numeric objects cannot be empty.

Is exception handling implicit or explicit?

In Java, Exception Handling is Explicit. The Programmer has to write code that will ensure that the exceptions are caught and appropriately handled

What does initComponents in java means?

initComponents is used to put and assign all the graphical interface methods, classes into it. Mainly used by Netbeans.

Arijit

What is the difference between temporary contraceptive methods and permanent contraceptive methods?

Temporary are methods like the a condom, the pill, the patch, or the ring. Things like that at which you can stop using at any time to try to become pregnant. Permanent methods are like a visectomy or getting your tubes tied. Things that will last for the rest of your life if you decide you never want a baby.

What is size of char far data type?

char is a primitive data type and depends on the programming language and the operating system.

Is Java the best programming language to develop an operating system - I want to know if Java is capable of producing a good operating system except other languages like C plus plus Python Ruby VB etc?

No. Apart from anything else, Java must run in a virtual machine. The only way to write an OS that runs in a VM is if the VM exists in firmware. Even so, the level of abstraction in the VM would make it unworkable. Java does not have any direct access to the hardware, which is a prerequisite for any OS. Even if it were actually possible to write an OS in Java, it would be slower than molasses for even the most basic operations.

C++ is the only real option here, combined with assembler for low-level operations. Of course you must have a complete understanding of all the hardware your OS could run on. The more variable the hardware, the more complex the OS needs to be. Gone are the days when a single programmer threw an OS together in their spare time. These days, we'll take an existing open-source OS and modify it to suit. Even so, it's still a major undertaking.

Why should you study the System Programming?

A Java application program is made of one or more classes and zero or more interfaces. One of the class must have the main() method as the execution starting point of the program. There are 3 steps involved in creating the classes and interfaces of a Java program, and running the program