answersLogoWhite

0

Search results

Java is a high-level programming language that was developed by Sun Microsystems (now owned by Oracle) in the mid-1990s. It is an object-oriented language, meaning it is based on the concept of "objects," which can contain data and code that manipulates that data. Java is designed to be portable, which means that code written in Java can run on any device that has a Java Virtual Machine (JVM) installed, without modification. This is achieved through the use of bytecode, which is code that is compiled to run on the JVM, rather than directly on the hardware.

Java is widely used for building large-scale, complex software applications, particularly in the enterprise sector. It is also used for developing Android mobile apps, as well as web, desktop, and scientific applications. Java is known for its robustness, security, and versatility, making it a popular choice for many developers.

For more information, visit: 1stepgrow

6 answers


Java Track is the comprehensive Java training program offered by Synergistic IT, designed to equip students with in-demand skills for real-world software development.

2 answers


Hello, Java Burn is a weight loss Supplement. Currently one of the best since the beginning of medicine. You can check my Bio to find a link that will tell you all you need to know bout Java Burn.

2 answers


Java is developed by Sun, which makes Solaris OS.

1 answer


Still have questions?
magnify glass
imp

Java's syntax is primarily based on the syntax of the C and C++ programming languages. James Gosling and his team, the creators of Java, aimed to make Java familiar to programmers who were already proficient in C and C++. This approach facilitated the adoption of Java among developers with prior experience in these languages.

At AchieversIT, our Java training courses cover not only the syntax but also the core concepts and principles of Java programming, enabling students to become proficient Java developers.

5 answers


Java code for tax deduction in database connection?

1 answer


Your java might be out of date, try updating it and try again, if that fails completely uninstal java, then re install the latest version from filehippo or something.

1 answer


Instead of compiling to machine language, the Java compiler compiles for a "ficticious processor". A program called the Java Virtual Machine then interprets this on every machine.

Note that Java is NOT an interpreted language. It is solely a compiled language. Java source code is always run through a compiler (typically 'javac') to be turned into bytecode. This is identical behavior as any other compiled language. The confusion is that Java bytecode is usually run on a Java Virtual Machine, which itself may both act as an interpreter and a compiler for the native instruction set the JVM runs on. However, the Java language itself is NOT dependent on how this bytecode is run - in fact, it is possible (and has been done) to build a hardware machine that runs Java bytecode directly.

1 answer


this is hari,

java came into existance only and only for sake of "platformidepandancy".

1 answer


Java is not an abbreviation. Java does not expand itself into anything. It is a programming language that is portable, platform independent and object oriented. It is used widely in computer software and in enterprise class applications all over the world.

1 answer



research is going on to develop a source code for median filtering using java

1 answer


James Gosling

1 answer


Java is not a database to be used as a back end for an application. Java can interface between your UI layer and the database but it cannot function as a database.

1 answer



You don't have to rewrite your code to get it working 2 or more OS'

That cuts down development cost and time by a lot.

1 answer


The Java Virtual Machine (JVM) is essential for several reasons. One of the main reasons is that it allows Java to be platform-independent. When you write a Java program, it gets compiled into bytecode, which is not tied to any specific hardware or operating system. The JVM is responsible for interpreting or compiling this bytecode into machine code that the underlying system can execute.

6 answers


Java Web Application is used to create dynamic websites. A Java web application generates interactive web pages containing various types of markup language (HTML, XML, and so on) and dynamic content. It is typically comprised of web components such as JavaServer Pages (JSP), servlets and JavaBeans to modify and temporarily store data, interact with databases and web services, and render content in response to client requests and the Java EE (Enterprise Edition) application model that defines architecture for implementing services. The Java EE platform provides an API and runtime environment for developing and running large-scale, multi-tiered, scalable, reliable, and secure network applications

The Java EE application model begins with the Java programming language and the Java virtual machine. The proven portability, security, and developer productivity they provide forms the basis of the application model. Java EE is designed to support applications that implement enterprise services for customers, employees, suppliers, partners, and others who make demands on our contributions to the enterprise. Such applications are inherently complex, potentially accessing data from a variety of sources and distributing applications to a variety of clients.

1 answer



error .click for details

1 answer


Java and Javascript are not the same thing and are not realted to each other.

Javascript is not run on "computers" it is run on browsers (which admitedly run on computers)

So, if your computer has a browser, it most likely runs javascript, of course this depends on the browser, but all major browser run javascript.

1 answer


How do I make sure the Sun Java 2 plug in is enabled and working?

To check if you already have Sun Java installed and enabled, please follow these instructions:

  • Click the Start button on the Windows Taskbar.
  • Select Run.
  • Type Control in the text box and click OK.
  • Once you are in the Control Panel window, you should see a Java icon. If you do not see this icon, try clicking on 'Switch to Classic View.' Double-click the Java icon to access the Java Control Panel.
  • Once in the Java Control Panel, click the Advanced tab.
    • If you don't see the Advanced tab, you have an older version of Sun Java. To find out how to update to the latest version, please read the instructions in number 3. Once you do this, Sun Java will automatically be enabled.
  • Once you are in the Advanced tab, click the plus sign (+) next to the Default Java for browsers section.
  • This action will toggle two check boxes: Microsoft Internet Explorer and/or Mozilla family.Click on the checkbox next to the browser(s) that you have. If you have Internet Explorer then make sure the box next to it is checked. If you have a Mozilla browser, like Netscapeor Firefox, then make sure the check box next to the Mozilla family option is checked as well.
  • Click OK at the bottom of the Java Control Panel window and restart your browser by closing all windows completely and re-launching it.
  • Go back to Pogo, and try to play again.

If you continue to encounter difficulties, please contact us using the Talk to a Game Advisor link above.

1 answer


NO! the enV2 runs only B.R.E.W. apps

1 answer



Java Burn - Get a wonderful solution with Java Burn, a safe and natural supplement carefully designed to improve metabolism, suppress appetite and increase energy levels with time add to your daily cup.

Made with 100% natural ingredients, Java Burn guarantees the best results for your health and well-being.

Enhance your health journey and unlock new wellness by trying Java Burn today. Feel the difference for yourself!

1 answer




The name of the .java file should exactly match with the name of the public class in the file.

Ex:

public class Test {

.....

}

this file should be saved as Test.java

1 answer



Java is a powerful language that gives us options to have data in different forms. We have several data types that we can use for our needs. The basic data types that java offers us are termed as Primitive Data Types. Though all programming languages have varied data types java offers us with a variety of data types that are much powerful and simplified to use when compared to other languages.

The Java programming language is strongly-typed, which means that all variables must first be declared before they can be used. This involves stating the variable's type and name.

int age = 10;

The above statement tells the java compiler that a field named "age" which holds numeric data and having an initial value of 10 is declared. A variable's data type determines the values it may contain, plus the operations that may be performed on it. In addition to int, the Java programming language supports seven other primitive data types. A primitive type is predefined by the language and is named by a reserved keyword. Primitive values do not share state with other primitive values. The eight primitive data types supported by the Java programming language are:

byte, short, int, long, float, double, char and boolean

1 answer


No, it is not strictly object oriented.

Java still maintains the concept of primitive data types, such as char, int, long, float, double, boolean. And as such, these are not objects.

In a true object oriented language, everything would be represented as an object, including operators. sory but wappers implement this concept n everything in java done by a class n a object it strickly follow the 3 rules of oops for detail refers java2 complete reference chapter2

4 answers


bhaertapc llrg nch hheekomode otyt ved crocph eneisl

1 answer



This error means that there was a call to a nonexistent class, but this was not caught by the compiler since the class existed when the file was compiled but was removed before running the .class file. To fix this problem try restoring any files you deleted to the SAME directory as your .class file.

This error can also be fixed by changing the Java classpath to point to the locations of your files. The -cp command line option should help.

1 answer


Java does not support multiple inheritance directly with classes to avoid ambiguity issues, such as the "Diamond Problem." However, it allows achieving multiple inheritance through interfaces. A class can implement multiple interfaces, enabling it to inherit behavior from multiple sources. For example, if two interfaces define similar or different methods, a class implementing both interfaces can provide specific implementations for each method. This approach ensures clarity and avoids conflicts while promoting a clean design. By using interfaces, Java offers the flexibility of multiple inheritance without the complexities and risks associated with direct implementation.

9 answers


You can use the toUpperCase() method on a String to convert any String to all uppercase.

1 answer


A null pointer exception in java comes when you are trying to perform any action on an object that isnt initialized/has a value i.e., is a NULL Value

Ex:

private String s; //declare a string

if(s.equals("test")){

//do something..

}

You will get a null pointer in the if condition because you are checking a value that is null which is not allowed..

1 answer


For example, for all numbers between 101-200: for (int i = 101; i

1 answer



System.out.println("2, 3, 5, 7");

There are so few you dont need to calculate it

1 answer


How a Java variable would act depends on the variable's data type. Variables of the primitive data types like int, char, float etc would not act as objects. But apart from them, all other data types would act as Objects. Almost all data types would extend from java.lang.Object and would behave as objects.

1 answer


int sum = 0;

for (int i = 51; i < 200; i = i + 2){

sum += i;

}

return sum;

1 answer


Here we go...

if(document.addListener){

alert("Yay! Not IE!");

}else{

alert("Booo! IE or something terribly old.");

}

1 answer


well, the formula is A=pi(r)^2 r=radius A=area ^=to the [insert number here] power pi=3.14...

1 answer


In a single-threaded runtime environment, actions execute one after another. The next action can happen only when the previous one is finished. If task A takes half an hour, and the user wants to do something else, he is doomed to wait until task A is over.

Ideally, the user should be able to carry on with his other task until his first task is complete. Imagine having to wait till your eclipse build all your source code before you could check your email? Thankfully windows uses multiple threads to run your eclipse and outlook. So you don't have to go through this pain. Similarly java has options wherein the programmer can have multiple threads of execution running.

Using the Thread concept in Java to create a program that runs multiple tasks in parallel is called multithreading

2 answers


Implement this method:

public static boolean isDivisible(int a, int b) {

if(a % b == 0) {

return true;

}

else {

return false;

}

}

1 answer


You can definitely expect questions from the Basic oops concepts like Inheritance, Polymorphism, Data Encapsulation etc

Threads - difference between extending a Thread class & implementing a Runnable interface

Exceptions

Garbage Collection

etc...

Some Sample Interview questions can be found in the related links section.

<p>for more new important java interview questions which are recently asked in an interview : h.ttp://w.ww.itsoftpoint.com/?page_id=2509</p>

1 answer


Here's a method I wrote in Java that should do what you want:

public static int[][] addMatrices(int[][] mat1, int[][] mat2) {

int biggestWidth = mat1.length > mat2.length ? mat1.length : mat2.length;

int biggestHeight = mat1[0].length > mat2[0].length ? mat1[0].length : mat2[0].length;

int[][] answer = new int[biggestWidth][biggestHeight];

for(int i = 0; i<biggestWidth; i++) {

for(int j = 0; j<biggestHeight; j++) {

int one = 0;

if(i < mat1.length && j < mat1[i].length) one = mat1[i][j];

int two = 0;

if(i < mat2.length && j < mat2[i].length) two = mat2[i][j];

answer[i][j] = one + two;

}

}

return answer;

}

1 answer


Javascript is useful for coding dynamic webpages. It allows you to make and interpret cookies, make simple animation, make pull down menus, and more. Javascript is used to add more power to HTML, which makes it very useful for webmasters to learn.

8 answers


public class PrintCubes {

public static void main(String args[]){

for (int i = 0; i <= 10; i++) {

int cube = i * i * i;

System.out.print(cube + " ");

}

}

}

1 answer