Arjun Thakur has Published 1247 Articles

Java program to print a multiplication table for any number

Arjun Thakur

Arjun Thakur

Updated on 30-Jul-2019 22:30:22

Following is a Java program which accepts an integer variable from user and prints the multiplication table of that particular integer.Exampleimport java.util.Scanner; public class MultiplicationTable { public static void main(String args[]) { System.out.println("Enter an integer variable :: "); ... Read More

2D transforms in CSS3

Arjun Thakur

Arjun Thakur

Updated on 30-Jul-2019 22:30:22

2D transforms are used to re-change the element structure as translate, rotate, scale, and skew.The following table has contained common values that are used in 2D transformsS.NoValues & Description1matrix(n, n, n, n, n, n)Used to defines matrix transforms with six values2translate(x, y)Used to transforms the element along with x-axis and ... Read More

Java Program to Convert OutputStream to String

Arjun Thakur

Arjun Thakur

Updated on 30-Jul-2019 22:30:22

The java.io.ByteArrayOutputStream.toString() method converts the stream's contents using the platform's default character set. The malformed-input and unmappable-character sequences are replaced by the default replacement string for the platform's default character set.Example Live Demoimport java.io.ByteArrayOutputStream; import java.io.IOException; public class ByteArrayOutputStreamDemo {    public static void main(String[] args) throws IOException {     ... Read More

convert list to array in java

Arjun Thakur

Arjun Thakur

Updated on 30-Jul-2019 22:30:21

Yes. List has toArray() method to convert a list to an array. Following program is converting an ArrayList to String[];import java.util.ArrayList; import java.util.List; public class Tester {    public static void main(String[] args) {       List names = new ArrayList();       names.add("A");       names.add("B"); ... Read More

Comparison between endl and in C++

Arjun Thakur

Arjun Thakur

Updated on 30-Jul-2019 22:30:21

"" Outputs a newline (in the appropriate platform-specific representation, so it generates a "\r" on Windows), but std::endl does the same and flushes the stream. Usually, you don't need to flush the stream immediately and it'll just cost you performance, so, for the most part, there's no reason to use ... Read More

What is special about string class in Java?

Arjun Thakur

Arjun Thakur

Updated on 30-Jul-2019 22:30:21

The String class is immutable, so that once it is created a String object cannot be changed. If there is a necessity to make a lot of modifications to Strings of characters, then you should use String Buffer & String Builder Classes.

Changing Parameters on the screen in SAP

Arjun Thakur

Arjun Thakur

Updated on 30-Jul-2019 22:30:20

You can do this by going to Menu.Navigate to Goto->Text Elements->Selection Text

Advertisements