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

Why the functions of java is called methods?

because it is capable of taking parameters, passing or returning values as in c++. it has it's own identity as return type, and signature of the method body. It can also be overloaded as well.

Convertion of upper case char in a string to lower case and vice versa?

You can use the methods toUpperCase & toLowerCase to convert Strings to any case you want.

Fullform of IDE in java?

IDE stands for Integrated Development Environment

IDE is a tool using which you can develop Java applications. Ex: Eclipse, WSAD, Net Beans etc.

How to print a symbol in Java using the ASCII value?

In order to print a character using its ASCII value, you need to first assign it to a char value like this:

char c = (char) 65;

In this example, we are casting the int 65 to a char, which converts it to an 'A', since 65 is the ASCII value for the capital letter 'a'.

Next, you can print it out if you want:

System.out.println(c);

That's pretty much all there is to it!

Is there class name as object in java?

Yes, the base class for all other Java classes is Object.

Do Time series methods base forecasts only on past values of the variables?

They make forecasts based on both present and past values of the variables. Stated in non-technical terms, they assume that somehow history repeats itself, i.e. that some patterns in the time series behavior of data are recurrent. As a consequence, the past is useful to predict the future.

Java int how to change the int variable but keep the same initialized word more in discuss on my question?

Use normal arithmetic operators.

// Create an int starting with a value of 2500
int balance = 2500;

// Deposit 500
balance = balance + 500;

// Withdraw 500
balance = balance - 500;


See the related links section for a tutorial.

How can you write a java code for banking system?

Most banks would contract out code development to a software house. Thus you would have to get a job in a software house to become involved in this sort of code development. Of cause you would need formal IT qualifications to get such a job.

How get value integer type in GUI box?

In C#, a reference type [of object] is an object created from a class, a value type is an object created from a struct. value type of objects are identical if their value/state are the same, while...

What are necessary condition for programming language to be considered as high level language?

It mustn't be Assembly (or machine code).

Unlike low-level languages, high-level programming languages may use natural language elements (easy syntax), be more user-friendly, have simple keywords, and other concepts that deem it easier to utilize than low-level languages.

AnnaSophia Replied an email i sent her and we emailed for a while and then she said she would be busy for a while and could not reply for a while she has not replied a long time what is going?

It is highly unlikely that you were ever communicating with the real AnnaSophia Robb, it was most likely an imposter. She almost certainly is not allowed to give out her personal info to total strangers. If you are certain that you were talking to her then you probably go to her school so why not walk up to her and ask? Socrates, The Guru Go to AnnaSophiaFIRE for all the truth on AnnaSophia Robb www.annasophiafireforums.co.nr

How do you read and write video file in java?

you can use inputstream for reading the file java.io.fileinputstream and write the file using outputstream..

Why java not use int as a generic argument?

Only Objects can be used as generic arguments. Primitives Data Types (int, long, char ...) are not objects. But you can use Integer, an Object that wrap the data type int instead.

Modifiers?

CPT modifiers are used to clarify services and procedures performed by providers. A list of all CPT modifiers with a brief description is located insider the front cover of the coding manual.

Write a program to input a string in the form of name and swap the initials of the namefor example enter a string is rohit Kumar sharma and should be printed RK Sharma?

Get the string from user , then U Split the string with space and put in a string array .

Then Find Length of string array , Take first letter of each element in array, Except last. Assigned those to a string, then Fetch Last element of an array, Add it With that String.

That's it.

What is green thread in java language?

Green thread scheduled by jvm insteadof respective operating system(nativiely).

Can constructor takes an object of its own class as a Parameter?

Of course they can, It is a little weird, but there are not any type of restriction about it. You can have something like this:

public class Fun{

public Fun(){

//do nothing

}

public Fun(Fun otherFun){

//do somethingFun with otherFun object

}

}

and then in a boring day do this:

//More code goes here

public static void main (String[] args){

Fun fun1 = new Fun(); // Create a Fun object with the default constructor

Fun fun2 = new Fun(fun1); // Create a Fun object with the constructor that expect a Fun object

}

Why can't have only float data type instead int and float?

Because that is how the language is defined. It has floating data types and integral data types.