- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Nikitha N has Published 77 Articles
Nikitha N
94 Views
Use the download attribute to set the file to download on click of the hyperlink. Set the value of the attribute to the name of the downloaded file, for example, image.Example if statement in Java The following is an image explaining the concept ... Read More
Nikitha N
227 Views
The HTML tag is used to underline a text. You can try to run the following code to create underlined text in HTML −Note − This tag is deprecated now and should not be used. Use CSS instead.Example HTML u Tag ... Read More
Nikitha N
1K+ Views
The toString() method of the String class returns itself a string.ExampleLive Demoimport java.io.*; public class Test { public static void main(String args[]) { String Str = new String("Welcome to Tutorialspoint.com"); System.out.print("Return Value :"); System.out.println(Str.toString()); } }OutputReturn Value :Welcome to ... Read More
Nikitha N
61 Views
The contains(Object) method of the java.util.ArrayList class returns true if this list contains the specified element.Exampleimport java.util.ArrayList; public class ArrayListDemo { public static void main(String[] args) { ArrayList arrlist = new ArrayList
Nikitha N
3K+ Views
You can include Jar files to which you need to set the classpath in the eclipse project using build pathStep 1 − Right click on the project Select Build Path → Configure Build Path.Step 2 − Select libraries select Add External JARs… button.Step3 − Then browse through the folder where the ... Read More
Nikitha N
734 Views
To check to find whether a given array contains three consecutive dates:Convert the given array into a list of type LocalDate.Using the methods of the LocalDate class compare ith, i+1th and i+1th, i+2th elements of the list if equal the list contain 3 consecutive elements.ExampleLive Demoimport java.time.LocalDate; import java.time.Month; ... Read More
Nikitha N
565 Views
The openStream() method of the URL class opens a connection and returns an InputStream. Using this stream, you can you read contents from that connection.Exampleimport java.io.InputStream; import java.net.URL; import java.util.Scanner; public class ReadingURL { public static void main(String args[]) throws Exception { URL url = new ... Read More
Nikitha N
845 Views
sapshcut.exe command can be used to log in to SAP from command line as shown in below example:ProcedureAdd the directory that contains the sapshcut.exe command to your system or user path. The sapshcut.exe command is installed as part of the SAP client into the following directory: C:\Program Files\SAP\FrontEnd\SAPguiTo add additional ... Read More
Nikitha N
190 Views
Please executes the below steps to get the services added −Define service in your manifest.json file?"sap.app": { [...], "dataSources": { "mainService": { "uri": "Path of your service", "type": "OData", "settings": { ... Read More
Nikitha N
103 Views
Arrays and pointers work quite similarly in C/C++. But there are some subtle differences. For example, the sizeof operator works quite differently on the two. When you convert an array in a pointer,Example#include int main() { const int a[] = { 2, 3, 5, 7, 11 }; const int* p = a; std::cout
To Continue Learning Please Login
Login with Google